forgejo/modules/markup
wxiaoguang f692069616
Refactor markdown render (#30139)
Only split the file into small ones (and rename AttentionTypes to
attentionTypes)

(cherry picked from commit 71706126b56616750a65290460fd211b9b8449da)
Signed-off-by: Gergely Nagy <forgejo@gergo.csillger.hu>

Conflicts:
	- modules/markup/markdown/goldmark.go
	- modules/markup/markdown/transform_blockquote.go
	Conflicts were resolved by favouring the Forgejo implementation:
	I copied the Forgejo code to the same place Gitea copied them
	to, and adjusted the imports accordingly.

	Apart from conflict resolution, this also moves
	`applyElementDir` from a local func in `goldmark.Transform` to a
	method on `*ASTTransformer`, to make it callable from the
	extracted functions.
2024-04-16 10:42:49 +02:00
..
asciicast
common
console
csv Fix some pending problems (#29985) 2024-03-26 19:04:26 +01:00
external
markdown Refactor markdown render (#30139) 2024-04-16 10:42:49 +02:00
mdstripper
orgmode
tests/repo/repo1_filepreview Update test 2024-03-28 04:20:13 +01:00
camo.go
camo_test.go
file_preview.go Fix inline permalinks across repo; closes #2965 (#3042) 2024-04-12 22:30:20 +00:00
html.go Fix inline permalinks across repo; closes #2965 (#3042) 2024-04-12 22:30:20 +00:00
html_internal_test.go
html_test.go Fix inline permalinks across repo; closes #2965 (#3042) 2024-04-12 22:30:20 +00:00
renderer.go Merge pull request 'Render inline file permalinks' (#2669) from Mai-Lapyst/forgejo:markup-add-filepreview into forgejo 2024-04-01 13:57:01 +00:00
renderer_test.go
sanitizer.go [BUG] Center icon and callout text 2024-04-03 22:26:19 +02:00
sanitizer_test.go