diff options
Diffstat (limited to 'docs/content/en/functions/highlight.md')
-rw-r--r-- | docs/content/en/functions/highlight.md | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/docs/content/en/functions/highlight.md b/docs/content/en/functions/highlight.md index 10b1c2d90..2ca125467 100644 --- a/docs/content/en/functions/highlight.md +++ b/docs/content/en/functions/highlight.md @@ -1,18 +1,13 @@ --- title: highlight -linktitle: highlight description: Renders code with a syntax highlighter. -date: 2017-02-01 -publishdate: 2017-02-01 -lastmod: 2021-12-06 categories: [functions] menu: docs: - parent: "functions" + parent: functions keywords: [highlighting,code blocks,syntax] signature: ["transform.Highlight INPUT LANG [OPTIONS]","highlight INPUT LANG [OPTIONS]"] relatedfuncs: [] -deprecated: false toc: true --- The `highlight` function uses the [Chroma] syntax highlighter, supporting over 200 languages with more than 40 available styles. @@ -101,8 +96,8 @@ Instead of specifying both `lineNos` and `lineNumbersInTable`, you can use the f ``` [Chroma]: https://github.com/alecthomas/chroma -[hugo client]: {{< relref "commands/hugo_gen_chromastyles" >}} -[options]: {{< relref "#options" >}} -[site configuration]: {{< relref "getting-started/configuration-markup#highlight">}} +[hugo client]: /commands/hugo_gen_chromastyles +[options]: #options +[site configuration]: /getting-started/configuration-markup#highlight [style gallery]: https://xyproto.github.io/splash/docs/ -[supported languages]: {{< relref "content-management/syntax-highlighting#list-of-chroma-highlighting-languages" >}} +[supported languages]: /content-management/syntax-highlighting#list-of-chroma-highlighting-languages |