mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-27 22:21:07 +03:00
Add site-wide/per-page [blackfriday] extensions
option
This commit is contained in:
parent
39b2cdece0
commit
407e80a9ab
7 changed files with 126 additions and 59 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue