mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-16 21:13:04 -06:00
[chore/bugfix] Switch markdown from blackfriday to goldmark (#1267)
Co-authored-by: Autumn! <autumnull@posteo.net>
This commit is contained in:
parent
2b0342b231
commit
eb08529f35
71 changed files with 16261 additions and 8358 deletions
18
vendor/github.com/yuin/goldmark/extension/gfm.go
generated
vendored
Normal file
18
vendor/github.com/yuin/goldmark/extension/gfm.go
generated
vendored
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
package extension
|
||||
|
||||
import (
|
||||
"github.com/yuin/goldmark"
|
||||
)
|
||||
|
||||
type gfm struct {
|
||||
}
|
||||
|
||||
// GFM is an extension that provides Github Flavored markdown functionalities.
|
||||
var GFM = &gfm{}
|
||||
|
||||
func (e *gfm) Extend(m goldmark.Markdown) {
|
||||
Linkify.Extend(m)
|
||||
Table.Extend(m)
|
||||
Strikethrough.Extend(m)
|
||||
TaskList.Extend(m)
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue