Custom Code Highlight for Confluence Documentation

  1. Edit or Create a page

  2. Select the Insert button

  3. Select the View more button

  4. Find Custom Code Highlight for Confluence and click it

  5. Paste of type in the code you want to display

  6. Add a <highlight> tag before the start of code you want highlighted and a </highlight> closing tag at the end of any code you want highlighted

  7. Press Insert

  8. Your highlighted code will appear as below: