mirror of
https://github.com/gohugoio/hugo.git
synced 2026-09-03 04:02:38 +00:00
77578f5bfc
in preparation for adding new translations such as Chinese. Paths for "readfile" shortcode are adjusted accordingly. See #461
918 B
918 B
title, linktitle, description, godocref, date, publishdate, lastmod, categories, menu, keywords, signature, workson, hugoversion, relatedfuncs, deprecated
| 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 Pygments to return syntax-highlighted HTML with inline-styles. | 2017-02-01 | 2017-02-01 | 2017-02-01 |
|
|
|
|
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.