-
-
Notifications
You must be signed in to change notification settings - Fork 6k
Description
Gitea Version: 1.1.0+115-g54f0293f (docker image)
When I go to russross/blackfriday to check markdown syntax, just found gitea cannot use Definition lists
Term
: This is a term
I found that there are two usage of
markdown/markdown.go#L148
markdown/markdown.go#L159
if flags&blackfriday.LIST_TYPE_DEFINITION != 0 {
but markdown.go
do not included EXTENSION_DEFINITION_LISTS
at extension setup by default
and no way to enable it like EXTENSION_HARD_LINE_BREAK
by checking
markdown/markdown.go#L619
setting.Markdown.EnableHardLineBreak
After checking code and compare extension list
https://github.com/russross/blackfriday/blob/master/markdown.go
There still have few extension not enabled
will there any way to let us config to enable them like EnableHardLineBreak
? or
are there any concern to not let it enable?