all repos — vite @ c5d0a5c35c59e57f460bcaa1f6263e4e3253871f

a fast (this time, actually) and minimal static site generator

Fix footnotes
Anirudh Oppiliappan x@icyphox.sh
Fri, 30 Oct 2020 17:24:13 +0530
commit

c5d0a5c35c59e57f460bcaa1f6263e4e3253871f

parent

cd498083c9875cd98e13cc31fff436187f13676d

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M markdown.gomarkdown.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), ) }