mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-19 21:21:39 +02:00
Add site-wide/per-page [blackfriday] extensions
option
This commit is contained in:
@@ -205,7 +205,7 @@ func renderShortcode(sc shortcode, p *Page, t tpl.Template) string {
|
||||
if sc.doMarkup {
|
||||
newInner := helpers.RenderBytes(helpers.RenderingContext{
|
||||
Content: []byte(inner), PageFmt: p.guessMarkupType(),
|
||||
DocumentId: p.UniqueId(), ConfigFlags: p.getRenderingConfigFlags()})
|
||||
DocumentId: p.UniqueId(), Config: p.getRenderingConfig()})
|
||||
|
||||
// If the type is “unknown” or “markdown”, we assume the markdown
|
||||
// generation has been performed. Given the input: `a line`, markdown
|
||||
|
Reference in New Issue
Block a user