Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions docs/userGuide/syntax/code.mbdf
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -108,7 +108,7 @@ To add a heading, add the attribute `heading` with the heading text as the value
<span id="code">

```` {.no-line-numbers}
```xml {heading="Heading title"}
```xml {heading="Heading title", highlight-lines="2"}
<foo>
<bar type="name">goo</bar>
</foo>
Expand All @@ -117,7 +117,7 @@ To add a heading, add the attribute `heading` with the heading text as the value
</span>
<span id="output">

```xml {heading="Heading title"}
```xml {heading="Heading title", highlight-lines="2"}
<foo>
<bar type="name">goo</bar>
</foo>
Expand Down Expand Up @@ -168,4 +168,4 @@ or the java code `public static void main(String[] args)`{.java}.
```
Syntax coloring for inline code: `<bar type="name">goo</bar>`{.xml} too!

</span>
</span>