mirror of
https://github.com/gohugoio/hugoDocs.git
synced 2025-09-13 08:25:59 -04:00
content: Improve description of code block render hook options map
This commit is contained in:
parent
35a507d31e
commit
235fac27d2
@ -50,7 +50,7 @@ Inner
|
|||||||
: (`string`) The content between the leading and trailing code fences, excluding the info string.
|
: (`string`) The content between the leading and trailing code fences, excluding the info string.
|
||||||
|
|
||||||
Options
|
Options
|
||||||
: (`map`) The highlighting options from the info string.
|
: (`map`) The highlighting options from the info string. This map is empty if [`Type`](#type) is an empty string or a code language that is not supported by the Chroma syntax highlighter. However, in this case, the highlighting options are available in the [`Attributes`](#attributes) map.
|
||||||
|
|
||||||
Ordinal
|
Ordinal
|
||||||
: (`int`) The zero-based ordinal of the code block on the page.
|
: (`int`) The zero-based ordinal of the code block on the page.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user