gitea/modules/markup
Gary Wang c35535ce07
Support localized README ()
* Support localized README

* Slightly simplify getting the readme file and add some tests. Ensure that i18n also
works for docs/ etc.

Signed-off-by: Andrew Thornton <art27@cantab.net>

* Update modules/markup/renderer.go

* Update modules/markup/renderer.go

* Update modules/markup/renderer.go

Co-authored-by: Andrew Thornton <art27@cantab.net>
..
common Add more linters to improve code readability ()
console Allow render HTML with css/js external links ()
csv Allow render HTML with css/js external links ()
external Allow render HTML with css/js external links ()
markdown Make better use of i18n ()
mdstripper format with gofumpt ()
orgmode Add more linters to improve code readability ()
camo.go Provide configuration to allow camo-media proxying ()
camo_test.go Provide configuration to allow camo-media proxying ()
html.go Use body text color in repository files table links ()
html_internal_test.go Custom regexp external issues ()
html_test.go Remove legacy git code (ver < 2.0), fine tune markup tests ()
renderer.go Support localized README ()
renderer_test.go Support localized README ()
sanitizer.go Allow to specify colors for text in markup ()
sanitizer_test.go Allow to specify colors for text in markup ()