gitea/modules/markup
wxiaoguang 1ab16e48cc
Improve Wiki TOC ()
The old code has a lot of technical debts, eg: `repo/wiki/view.tmpl` /
`Iterate`

This PR improves the Wiki TOC display and improves the code.

---------

Co-authored-by: delvh <dev.lh@web.de>
..
asciicast Support asciicast files as new markup ()
common Implement FSFE REUSE for golang files ()
console Add context when rendering labels or emojis ()
csv Add context when rendering labels or emojis ()
external Log STDERR of external renderer when it fails ()
markdown Improve Wiki TOC ()
mdstripper Implement FSFE REUSE for golang files ()
orgmode Add context when rendering labels or emojis ()
camo.go Implement FSFE REUSE for golang files ()
camo_test.go Implement FSFE REUSE for golang files ()
html.go Append `(comment)` when a link points at a comment rather than the whole issue ()
html_internal_test.go Append `(comment)` when a link points at a comment rather than the whole issue ()
html_test.go Add context when rendering labels or emojis ()
renderer.go Improve Wiki TOC ()
renderer_test.go Move `IsReadmeFile*` from `modules/markup/` to `modules/util` ()
sanitizer.go Allow `<video>` in MarkDown ()
sanitizer_test.go Implement FSFE REUSE for golang files ()