bf03b66802
This adds a few asciidoctor classes to the sanitizer and adds styling for them. - support for making elements `float` - support for [tables without borders](https://codeberg.org/tastytea/asciidoctor-rendering-test/src/branch/main/README.adoc#_with_gridnone) - make [TOC-title](https://codeberg.org/tastytea/asciidoctor-rendering-test/src/branch/main/README.adoc) bold - make [admonition blocks](https://codeberg.org/tastytea/asciidoctor-rendering-test/src/branch/main/README.adoc#_admonitions) look nice I tried adding more border-styles for tables, but clashed with existing rules and couldn't figure out how to solve it. I don't think it's that important for this use-case so i didn't try too hard. 😊 Co-authored-by: tastytea <tastytea@tastytea.de> Reviewed-on: https://codeberg.org/Codeberg/gitea/pulls/44 Co-authored-by: tastytea <tastytea@noreply.codeberg.org> Co-committed-by: tastytea <tastytea@noreply.codeberg.org> |
||
---|---|---|
.. | ||
common | ||
console | ||
csv | ||
external | ||
markdown | ||
mdstripper | ||
orgmode | ||
camo.go | ||
camo_test.go | ||
html.go | ||
html_internal_test.go | ||
html_test.go | ||
renderer.go | ||
renderer_test.go | ||
sanitizer.go | ||
sanitizer_test.go |