1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00
Bjørn Erik Pedersen ec4e6f9df2 Squashed 'docs/' content from commit f887bd7b
git-subtree-dir: docs
git-subtree-split: f887bd7b4e3e7c7e76cd63951e5b0d37d8fe0ac7
2017-08-10 17:18:22 +02:00

889 B

title linktitle description godocref date publishdate lastmod categories menu signature workson hugoversion relatedfuncs deprecated
highlight highlight Takes a string of code and language declaration and uses Pygments to return syntax-highlighted HTML with inline-styles. 2017-02-01 2017-02-01 2017-02-01
functions
docs
parent
functions
highlight INPUT
false

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

See Installing Hugo for more information on Pygments or Syntax Highlighting for more options on how to add syntax highlighting to your code blocks with Hugo.