mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-28 14:40:43 +03:00
parent
596e0e98e4
commit
2079a23dd8
21 changed files with 324 additions and 189 deletions
|
@ -242,7 +242,8 @@ func renderShortcode(sc shortcode, parent *ShortcodeWithPage, p *Page, t tpl.Tem
|
|||
if sc.doMarkup {
|
||||
newInner := helpers.RenderBytes(&helpers.RenderingContext{
|
||||
Content: []byte(inner), PageFmt: p.determineMarkupType(),
|
||||
DocumentID: p.UniqueID(), Config: p.getRenderingConfig()})
|
||||
ConfigProvider: p.Language(),
|
||||
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