aboutsummaryrefslogtreecommitdiffhomepage
path: root/markup/goldmark/goldmark_config
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2020-01-05 11:52:00 +0100
committerBjørn Erik Pedersen <[email protected]>2020-01-05 11:56:05 +0100
commit16e7c1120346bd853cf6510ffac8e94824bf2c7f (patch)
treee1f1c38bdf978015d8e9fd81e3c5c51d18fff327 /markup/goldmark/goldmark_config
parent8f071fc159ce9a0fc0ea14a73bde8f299bedd109 (diff)
downloadhugo-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.go1
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.