mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-07 20:30:36 -05:00
c139c6e1ef
This commit adds a new PygmentsCodeFences config option (default false), which if true will allow GitHub style backtick code fences around code, which will then be rendered by Pygments. For example: ``` language your code ``` can be used instead of {{< highlight language >}}your code {{< /highlight >}}. Fixes #362 |
||
---|---|---|
.. | ||
content.go | ||
content_renderer.go | ||
content_test.go | ||
general.go | ||
general_test.go | ||
hugo.go | ||
hugo_test.go | ||
path.go | ||
path_test.go | ||
pygments.go | ||
pygments_test.go | ||
url.go | ||
url_test.go |