hugo/docs/content/en/functions/highlight.md
Bjørn Erik Pedersen bfb9613a14
Add Goldmark as the new default markdown handler
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo.

If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration:

```toml
[markup]
defaultMarkdownHandler="blackfriday"
```

Fixes #5963
Fixes #1778
Fixes #6355
2019-11-23 14:12:24 +01:00

700 B

title linktitle description godocref date publishdate lastmod categories menu keywords signature workson hugoversion relatedfuncs deprecated
highlight highlight Takes a string of code and language declaration and uses Chroma to return syntax-highlighted HTML. 2017-02-01 2017-02-01 2017-02-01
functions
docs
parent
functions
highlighting
code blocks
syntax
highlight INPUT LANG OPTIONS
false

highlight is used in Hugo's built-in highlight shortcode.