gfm.go (304B)
1 package extension 2 3 import ( 4 "github.com/yuin/goldmark" 5 ) 6 7 type gfm struct { 8 } 9 10 // GFM is an extension that provides Github Flavored markdown functionalities. 11 var GFM = &gfm{} 12 13 func (e *gfm) Extend(m goldmark.Markdown) { 14 Linkify.Extend(m) 15 Table.Extend(m) 16 Strikethrough.Extend(m) 17 TaskList.Extend(m) 18 }