fork of anirudh.fi/vite that uses chroma for hl
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Better markdown flags

+6 -2
+6 -2
markdown/markdown.go
··· 15 15 ) 16 16 17 17 var ( 18 - bfFlags = bf.CommonHTMLFlags | bf.FootnoteReturnLinks | bf.SmartypantsFractions 19 - bfExts = bf.CommonExtensions | bf.AutoHeadingIDs | bf.Footnotes | bf.NoEmptyLineBeforeBlock 18 + bfFlags = bf.UseXHTML | bf.Smartypants | bf.SmartypantsFractions | 19 + bf.SmartypantsDashes | bf.NofollowLinks | bf.FootnoteReturnLinks 20 + bfExts = bf.NoIntraEmphasis | bf.Tables | bf.FencedCode | bf.Autolink | 21 + bf.Strikethrough | bf.SpaceHeadings | bf.BackslashLineBreak | 22 + bf.HeadingIDs | bf.Footnotes | bf.NoEmptyLineBeforeBlock 20 23 ) 21 24 22 25 type Output struct { ··· 33 36 34 37 out.HTML = bf.Run( 35 38 md.Body, 39 + bf.WithNoExtensions(), 36 40 bf.WithRenderer( 37 41 bfc.NewRenderer( 38 42 bfc.ChromaOptions(