Fast and extensible multi-platform HTTP/1-2-3 web server with automatic HTTPS
Mirrored from https://github.com/Slazee/caddy.git
Synced Nov 14, 05:15 UTC
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
Matthew Holt committed
Mar 18, 2020 at 23:38 UTC
406df22a16074ee09c0ee9cf5447ff49bc3ea1e5
1 file changed
+1
-1
modules/caddyhttp/templates/tplcontext.go
+1
-1
@@ -237,7 +237,7 @@ func (c templateContext) funcMarkdown(input interface{}) (template.HTML, error)
237
md := goldmark.New(
238
goldmark.WithExtensions(
239
extension.GFM,
240
- extension.Table,
240
+ extension.Footnote,
241
highlighting.NewHighlighting(
242
highlighting.WithFormatOptions(
243
html.WithClasses(true),