forgejo/modules/markup/markdown
Robert Wolff c6a2b7e0a6 feat(ui): render ordered checkbox lists with numbers (#9184)
Addresses #6332.

This allows
```
1. [ ] task1
2. [ ] task2
```
to be rendered with numbers.

It also fixes a little alignment issue between items from unordered checkbox and other lists.

Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/9184
Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
Reviewed-by: Ellen Εμιλία Άννα Zscheile <fogti@noreply.codeberg.org>
Reviewed-by: Gusted <gusted@noreply.codeberg.org>
Reviewed-by: 0ko <0ko@noreply.codeberg.org>
Co-authored-by: Robert Wolff <mahlzahn@posteo.de>
Co-committed-by: Robert Wolff <mahlzahn@posteo.de>
2025-09-06 16:23:06 +02:00
..
callout chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
math fix: enable multi-line math equations in wiki (#8424) 2025-07-06 22:00:09 +02:00
util fix: enable multi-line math equations in wiki (#8424) 2025-07-06 22:00:09 +02:00
ast.go chore: Remove IsXXX 2025-01-31 16:22:29 +01:00
color_util.go feat: support color dots for 4 character hex. 2024-11-02 13:37:14 +01:00
color_util_test.go feat: support color dots for 4 character hex. 2024-11-02 13:37:14 +01:00
convertyaml.go chore: replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3 (#8956) 2025-08-20 15:31:12 +02:00
goldmark.go Markdown: generate unique per comment HTML IDs for footnotes and headers (#8880) 2025-08-27 08:14:52 +02:00
markdown.go fix: enable multi-line math equations in wiki (#8424) 2025-07-06 22:00:09 +02:00
markdown_test.go feat(ui): render ordered checkbox lists with numbers (#9184) 2025-09-06 16:23:06 +02:00
meta.go chore: replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3 (#8956) 2025-08-20 15:31:12 +02:00
meta_test.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
prefixed_id.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
renderconfig.go chore: replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3 (#8956) 2025-08-20 15:31:12 +02:00
renderconfig_test.go chore: replace gopkg.in/yaml.v3 with go.yaml.in/yaml/v3 (#8956) 2025-08-20 15:31:12 +02:00
toc.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
transform_codespan.go Update module github.com/golangci/golangci-lint/cmd/golangci-lint to v2 (forgejo) (#7367) 2025-03-28 22:22:21 +00:00
transform_heading.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
transform_image.go fix(ui): add missing lazy load attribute to images (#8246) 2025-06-25 18:31:03 +02:00
transform_link.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00
transform_list.go chore: branding import path (#7337) 2025-03-27 19:40:14 +00:00