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/markdown
wxiaoguang d242511e86
Remove legacy unmaintained packages, refactor to support change default locale (#19308)
Remove two unmaintained vendor packages `i18n` and `paginater`. Changes:
* Rewrite `i18n` package with a more clear fallback mechanism. Fix an unstable `Tr` behavior, add more tests.
* Refactor the legacy `Paginater` to `Paginator`, test cases are kept unchanged.

Trivial enhancement (no breaking for end users):
* Use the first locale in LANGS setting option as the default, add a log to prevent from surprising users.
2 years ago
..
ast.go Fix various documentation, user-facing, and source comment typos (#16367) 3 years ago
goldmark.go format with gofumpt (#18184) 2 years ago
markdown.go Support ignore all santize for external renderer (#18984) 2 years ago
markdown_test.go Bump goldmark to v1.4.11 (#19201) 2 years ago
meta.go Fix markdown meta parsing (#12817) 4 years ago
meta_test.go Fixed assert statements. (#16089) 3 years ago
renderconfig.go Use markdown frontmatter to provide Table of contents, language and frontmatter rendering (#11047) 4 years ago
toc.go Remove legacy unmaintained packages, refactor to support change default locale (#19308) 2 years ago