Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

How to use

If you haven't, you can install & try it out for free from Atlassian Marketplace https://marketplace.atlassian.com/apps/1219685


If you have already used Code Macro, it works in similar way.

Once installed, go to your Confluence page & follow these steps.

  • Type { & click on Open macro browser
  • Select Code Syntax Highlighter & click Insert

Imgur

  • You can select your programming language & theme you want to use & save it.

  • Write code or paste from Clipboard. Click on edit and then preview on the right side to view highlighted code. If everything is fine, save and publish.

That's all. You can now use syntax highlighting for code written in any programming language.


If you face any issue, please create an issue on Github https://github.com/chhantyal/code-syntax-highlighter/ or send me an email.

...