forked from mirror/codeberg-forgejo
a06ef4eb8a
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> |
||
---|---|---|
.. | ||
asciicast.css | ||
asciidoc.css | ||
codecopy.css | ||
content.css |