mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
Add Goldmark as the new default markdown handler
This commit adds the fast and CommonMark compliant Goldmark as the new default markdown handler in Hugo. If you want to continue using BlackFriday as the default for md/markdown extensions, you can use this configuration: ```toml [markup] defaultMarkdownHandler="blackfriday" ``` Fixes #5963 Fixes #1778 Fixes #6355
This commit is contained in:
3
go.mod
3
go.mod
@@ -5,7 +5,7 @@ require (
|
||||
github.com/BurntSushi/toml v0.3.1
|
||||
github.com/PuerkitoBio/purell v1.1.0
|
||||
github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578 // indirect
|
||||
github.com/alecthomas/chroma v0.6.9
|
||||
github.com/alecthomas/chroma v0.6.10-0.20191121231300-5921c52787e3
|
||||
github.com/alecthomas/repr v0.0.0-20181024024818-d37bc2a10ba1 // indirect
|
||||
github.com/armon/go-radix v1.0.0
|
||||
github.com/aws/aws-sdk-go v1.19.40
|
||||
@@ -54,6 +54,7 @@ require (
|
||||
github.com/spf13/viper v1.4.0
|
||||
github.com/tdewolff/minify/v2 v2.5.2
|
||||
github.com/yosssi/ace v0.0.5
|
||||
github.com/yuin/goldmark v1.1.4
|
||||
go.opencensus.io v0.22.0 // indirect
|
||||
gocloud.dev v0.15.0
|
||||
golang.org/x/image v0.0.0-20190523035834-f03afa92d3ff
|
||||
|
Reference in New Issue
Block a user