diff options
author | Bjørn Erik Pedersen <[email protected]> | 2020-01-05 11:52:00 +0100 |
---|---|---|
committer | Bjørn Erik Pedersen <[email protected]> | 2020-01-05 11:56:05 +0100 |
commit | 16e7c1120346bd853cf6510ffac8e94824bf2c7f (patch) | |
tree | e1f1c38bdf978015d8e9fd81e3c5c51d18fff327 /markup/goldmark/goldmark_config | |
parent | 8f071fc159ce9a0fc0ea14a73bde8f299bedd109 (diff) | |
download | hugo-16e7c1120346bd853cf6510ffac8e94824bf2c7f.tar.gz hugo-16e7c1120346bd853cf6510ffac8e94824bf2c7f.zip |
markup/goldmark: Add an optional Blackfriday auto ID strategy
Fixes #6707
Diffstat (limited to 'markup/goldmark/goldmark_config')
-rw-r--r-- | markup/goldmark/goldmark_config/config.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/markup/goldmark/goldmark_config/config.go b/markup/goldmark/goldmark_config/config.go index 47399b52c..af33e03dc 100644 --- a/markup/goldmark/goldmark_config/config.go +++ b/markup/goldmark/goldmark_config/config.go @@ -17,6 +17,7 @@ package goldmark_config const ( AutoHeadingIDTypeGitHub = "github" AutoHeadingIDTypeGitHubAscii = "github-ascii" + AutoHeadingIDTypeBlackfriday = "blackfriday" ) // DefaultConfig holds the default Goldmark configuration. |