You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/markup
Gary Wang c35535ce07
Support localized README (#20508)
* 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>
2 years ago
..
common Add more linters to improve code readability (#19989) 2 years ago
console Allow render HTML with css/js external links (#19017) 2 years ago
csv Allow render HTML with css/js external links (#19017) 2 years ago
external Allow render HTML with css/js external links (#19017) 2 years ago
markdown Make better use of i18n (#20096) 2 years ago
mdstripper format with gofumpt (#18184) 2 years ago
orgmode Add more linters to improve code readability (#19989) 2 years ago
camo.go Provide configuration to allow camo-media proxying (#12802) 2 years ago
camo_test.go Provide configuration to allow camo-media proxying (#12802) 2 years ago
html.go Use body text color in repository files table links (#20386) 2 years ago
html_internal_test.go Custom regexp external issues (#17624) 2 years ago
html_test.go Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2 years ago
renderer.go Support localized README (#20508) 2 years ago
renderer_test.go Support localized README (#20508) 2 years ago
sanitizer.go Allow to specify colors for text in markup (#20363) 2 years ago
sanitizer_test.go Allow to specify colors for text in markup (#20363) 2 years ago