Display inline code and code blocks
word
or phrase
as code, enclose it in backticks (`).
""
, ''
, or no quotes.{}
, ""
, or ''
.title="Your title"
or a string on a single line.
highlight
with the line numbers or ranges you want to highlight.
focus
with line numbers or ranges.
lines
.
expandable
.
wrap
. This prevents horizontal scrolling and makes long lines easier to read.
[!code ++]
and [!code --]
to mark added and removed lines. You can also mark multiple lines with a single comment, such as [!code ++:3]
or [!code --:5]
.