mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-12 06:19:23 -04:00
Update configuration-markup.md
This commit is contained in:
parent
92d91a3163
commit
bbbbfbfc6d
@ -253,7 +253,7 @@ layouts
|
|||||||
└── render-codeblock-bash.html
|
└── render-codeblock-bash.html
|
||||||
```
|
```
|
||||||
|
|
||||||
The default behaviour for these code blocks is to do [Code Highlighting](/content-management/syntax-highlighting/#highlighting-in-code-fences), but since you can pass attributes to these code blocks, they can be used for almost anything. One example would be the built-in [GoAT Diagrams](/content-management/diagrams/#goat-diagrams-ascii).
|
The default behaviour for these code blocks is to do [Code Highlighting](/content-management/syntax-highlighting/#highlighting-in-code-fences), but since you can pass attributes to these code blocks, they can be used for almost anything. One example would be the built-in [GoAT Diagrams](/content-management/diagrams/#goat-diagrams-ascii) or this [Mermaid Diagram Code Block Hook](/content-management/diagrams/#mermaid-diagrams) example.
|
||||||
|
|
||||||
The context (the ".") you receive in a code block template contains:
|
The context (the ".") you receive in a code block template contains:
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user