content: Improve description of code block render hook options map

This commit is contained in:
Joe Mooring 2025-07-21 06:38:16 -07:00 committed by GitHub
parent 35a507d31e
commit 235fac27d2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.