feat: code highlight for tiptap

This commit is contained in:
Anthony Fu 2022-12-13 14:02:43 +01:00
parent 854d861766
commit 75f49461de
7 changed files with 181 additions and 69 deletions

View file

@ -104,7 +104,7 @@ body {
--at-apply: bg-code text-code px1 py0.5 rounded text-0.9em leading-0.8em;
}
pre code {
--at-apply: bg-transparent px0 py0 rounded-none;
--at-apply: bg-transparent px0 py0 rounded-none leading-1.6em;
}
.code-block {