Versions Compared

Key

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

...

We don't have a way to export this macro.
Table of Contents
minLevel1
maxLevel2
outlinefalse
stylenone
typelist
printabletrue

Basic Usage

Edit a page or Create a new page and type /enhance click on the Enhanced Code Block option when it appears.

...

Options will appear to the right hand side, write or copy and paste your code into the “Code to display” field and select the language from the Language dropdown. See below for instructions on all options.

...

full.pngImage Added

Syntax Highlighting

Over 300 languages are supported, see the Supported Languages section for a full list.

...

We don't have a way to export this macro.

...

customTitle.pngImage Added

Focus Lines

Focus Lines allow you to choose a subset of lines to be visible by default, but also allow viewers to expand to the full code snippet for more context using the + button. This is either a single line number or a range with start and end separated by a hyphen, e.g. 4 or 16-20.

...