From: Bjørn Erik Pedersen Date: Sun, 5 Jan 2020 11:07:36 +0000 (+0100) Subject: docs: Document the new autoHeadingIDType setting X-Git-Tag: v0.62.2~5 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=d62ede8e9e5883e7ebb023e49b82f07b45edc1c7;p=brevno-suite%2Fhugo docs: Document the new autoHeadingIDType setting See #6707 See #6616 --- diff --git a/docs/content/en/getting-started/configuration-markup.md b/docs/content/en/getting-started/configuration-markup.md index 1ac7e44e..a0791ee6 100644 --- a/docs/content/en/getting-started/configuration-markup.md +++ b/docs/content/en/getting-started/configuration-markup.md @@ -38,6 +38,9 @@ unsafe typographer : This extension substitutes punctuations with typographic entities like [smartypants](https://daringfireball.net/projects/smartypants/). +autoHeadingIDType ("github") {{< new-in "0.62.2" >}} +: The strategy used for creating auto IDs (anchor names). Available types are `github`, `github-ascii` and `blackfriday`. `github` produces GitHub-compatible IDs, `github-ascii` will drop any non-Ascii characters after accent normalization, and `blackfriday` will make the IDs work as with [Blackfriday](#blackfriday), the default Markdown engine before Hugo 0.60. Note that if Goldmark is your default Markdown engine, this is also the strategy used in the [anchorize](/functions/anchorize/) template func. + ### Blackfriday