You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

gfm.go 304B

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