Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Java

The source code above is an interactive live demo of Prism Syntax Highlighter for Confluence that shows some of the features:

  • Source code downloading: Click the “Download” button in the toolbar on the top right to download the source code.

  • Copy & paste support: Click the “Copy” button in the toolbar on the top right to copy the source code to the clipboard.

  • Line number & line highlighting: Line numbers are shown and lines 3 to 8 are highligted.

  • Brace matching: Hover over the braces to see the interactive brace matching.

Remote source code (from GitHub)

The source code above is an interactive live demo of Prism Syntax Highlighter for Confluence that includes (markdown) code from GitHub (https://raw.githubusercontent.com/PrismJS/prism/master/README.md). Besides including the code from the remote location the demo shows some of the other features:

  • Source code downloading: Click the “Download” button in the toolbar on the top right to download the source code.

  • Copy & paste support: Click the “Copy” button in the toolbar on the top right to copy the source code to the clipboard.

  • Height limitation: A height defined in the macro options (500px in this example) renders a (vertical) scrollbar.

  • No labels