Code block render hooks are introduced in v0.93.0 (#1701)

The docs incorrectly stated that code block render hooks were introduced in version 0.83.0, so I corrected it to version 0.93.0 (changelog here: https://github.com/gohugoio/hugo/releases/tag/v0.93.0).
This commit is contained in:
mamaremere 2022-03-29 16:43:20 +03:00 committed by GitHub
parent c447270ef5
commit 94502a09ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -25,7 +25,7 @@ The hook kinds currently supported are:
* `image`
* `link`
* `heading` {{< new-in "0.71.0" >}}
* `codeblock`{{< new-in "0.83.0" >}}
* `codeblock`{{< new-in "0.93.0" >}}
You can define [Output-Format-](/templates/output-formats) and [language-](/content-management/multilingual/)specific templates if needed. Your `layouts` folder may look like this: