Fix footnotes
Anirudh Oppiliappan x@icyphox.sh
Fri, 30 Oct 2020 17:24:13 +0530
1 files changed,
4 insertions(+),
0 deletions(-)
jump to
M
markdown.go
→
markdown.go
@@ -7,6 +7,9 @@ )
var bfFlags = bf.UseXHTML | bf.Smartypants | bf.SmartypantsFractions | bf.SmartypantsDashes | bf.NofollowLinks +var bfExts = bf.NoIntraEmphasis | bf.Tables | bf.FencedCode | bf.Autolink | + bf.Strikethrough | bf.SpaceHeadings | bf.BackslashLineBreak | + bf.HeadingIDs | bf.Footnotes | bf.NoEmptyLineBeforeBlock func mdRender(input []byte) []byte { return bf.Run(@@ -21,5 +24,6 @@ }),
), ), ), + bf.WithExtensions(bfExts), ) }