mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-15 22:04:39 -04:00
Escape code fencing
This commit is contained in:
parent
ff8b2f999f
commit
bfa6a55d03
@ -103,7 +103,7 @@ The keywords in the `highlight` shortcode mirror those of Pygments from the comm
|
|||||||
|
|
||||||
It is also possible to add syntax highlighting with GitHub flavored code fences. To enable this, set the `PygmentsCodeFences` to `true` in Hugo's [configuration file](/getting-started/configuration/);
|
It is also possible to add syntax highlighting with GitHub flavored code fences. To enable this, set the `PygmentsCodeFences` to `true` in Hugo's [configuration file](/getting-started/configuration/);
|
||||||
|
|
||||||
```
|
````
|
||||||
```
|
```
|
||||||
<section id="main">
|
<section id="main">
|
||||||
<div>
|
<div>
|
||||||
@ -114,7 +114,7 @@ It is also possible to add syntax highlighting with GitHub flavored code fences.
|
|||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
```
|
```
|
||||||
```
|
````
|
||||||
|
|
||||||
{{% note "Disclaimers on Pygments" %}}
|
{{% note "Disclaimers on Pygments" %}}
|
||||||
* Pygments is relatively slow and _causes a performance hit when building your site_, but Hugo has been designed to cache the results to disk.
|
* Pygments is relatively slow and _causes a performance hit when building your site_, but Hugo has been designed to cache the results to disk.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user