diff --git a/docs/userGuide/syntax/code.mbdf b/docs/userGuide/syntax/code.mbdf index e4aaef01f2..7f6b6c4565 100644 --- a/docs/userGuide/syntax/code.mbdf +++ b/docs/userGuide/syntax/code.mbdf @@ -10,7 +10,7 @@ Features: - Syntax coloring - Line numbering - Line highlighting -- Code block headers +- Code block headers ##### Syntax coloring To enable syntax coloring, specify a language next to the backticks before the fenced code block. @@ -125,6 +125,30 @@ To add a heading, add the attribute `heading` with the heading text as the value +##### Using multiple features +You can also use multiple features together, as shown below. + + + + +```` {.no-line-numbers} +```xml {highlight-lines="2" heading="Heading title"} + + goo + +``` +```` + + + +```xml {highlight-lines="2" heading="Heading title"} + + goo + +``` + + + #### Inline Code ##### Syntax coloring @@ -168,4 +192,4 @@ or the java code `public static void main(String[] args)`{.java}. ``` Syntax coloring for inline code: `goo`{.xml} too! - \ No newline at end of file +