mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-07 03:28:52 +02:00
Refactor markdown attention render (#29984)
Follow #29833 and add tests
This commit is contained in:
1 parent
6845717158
commit
2ff213bbc1
5 files changed
+145
-65
No files matched your search
@@ -126,7 +126,7 @@ func SpecializedMarkdown() goldmark.Markdown {
|
||||
parser.WithAttribute(),
|
||||
parser.WithAutoHeadingID(),
|
||||
parser.WithASTTransformers(
|
||||
util.Prioritized(&ASTTransformer{}, 10000),
|
||||
util.Prioritized(NewASTTransformer(), 10000),
|
||||
),
|
||||
),
|
||||
goldmark.WithRendererOptions(
|
||||
|
||||
Reference in new issue
Block a user