templates: Enable Goldmark's footnote extension (closes #3136)

Also remove Table extension, since GFM (already enabled) apparently
enables strikethrough, table, linkify, and tasklist extensions.
https://github.com/yuin/goldmark#built-in-extensions
This commit is contained in:
Matthew Holt 2020-03-18 23:38:37 -06:00
parent afb2ca27c1
commit 406df22a16
No known key found for this signature in database
GPG Key ID: 2A349DD577D586A5
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ func (c templateContext) funcMarkdown(input interface{}) (template.HTML, error)
md := goldmark.New( md := goldmark.New(
goldmark.WithExtensions( goldmark.WithExtensions(
extension.GFM, extension.GFM,
extension.Table, extension.Footnote,
highlighting.NewHighlighting( highlighting.NewHighlighting(
highlighting.WithFormatOptions( highlighting.WithFormatOptions(
html.WithClasses(true), html.WithClasses(true),