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>
2022-08-01 01:36:58 +03:00
..
common Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
console Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
csv Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
external Allow render HTML with css/js external links (#19017) 2022-06-16 11:33:23 +08:00
markdown Make better use of i18n (#20096) 2022-06-26 22:19:22 +08:00
mdstripper format with gofumpt (#18184) 2022-01-20 18:46:10 +01:00
orgmode Add more linters to improve code readability (#19989) 2022-06-20 12:02:49 +02:00
camo.go Provide configuration to allow camo-media proxying (#12802) 2022-03-29 10:27:37 +02:00
camo_test.go Provide configuration to allow camo-media proxying (#12802) 2022-03-29 10:27:37 +02:00
html.go Use body text color in repository files table links (#20386) 2022-07-22 18:49:24 +08:00
html_internal_test.go Custom regexp external issues (#17624) 2022-06-10 13:39:53 +08:00
html_test.go Remove legacy git code (ver < 2.0), fine tune markup tests (#19930) 2022-06-16 23:47:44 +08:00
renderer.go Support localized README (#20508) 2022-08-01 01:36:58 +03:00
renderer_test.go Support localized README (#20508) 2022-08-01 01:36:58 +03:00
sanitizer.go Allow to specify colors for text in markup (#20363) 2022-07-15 14:38:10 +08:00
sanitizer_test.go Allow to specify colors for text in markup (#20363) 2022-07-15 14:38:10 +08:00