feat: support additional html elements (#1102)

This commit is contained in:
Daniel Roe 2023-01-14 10:40:53 +00:00 committed by GitHub
parent 10bf774a6b
commit c280ee389c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 46 additions and 1 deletions

View file

@ -141,7 +141,24 @@ em-emoji-picker {
pre code {
--at-apply: bg-transparent px0 py0 rounded-none leading-1.6em;
}
ol {
--at-apply: list-decimal my-3 pl-6 ml-2;
}
ul {
--at-apply: list-disc my-3 pl-6 ml-2;
}
li {
--at-apply: mt-1 mb-1;
&:empty {
--at-apply: hidden;
}
}
'ol > li' {
--at-apply: pl-2;
}
'ul > li' {
--at-apply: pl-2;
}
.code-block {
--at-apply: font-mono bg-code text-0.875em p3 mt-2 rounded overflow-auto
leading-1.6em;