feat: add patch to rehype-pretty-code

This commit is contained in:
enscribe 2025-03-21 20:53:33 -07:00
parent bbdb1ef828
commit 8e6df747e0
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
8 changed files with 595 additions and 91 deletions

View file

@ -90,7 +90,7 @@
::before,
::backdrop,
::file-selector-button {
@apply tracking-tight border-border outline-ring/50;
@apply border-border outline-ring/50 tracking-tight;
}
html {

View file

@ -62,6 +62,7 @@
code {
@apply bg-muted/50 text-foreground relative rounded-sm px-[0.3rem] py-[0.2rem] text-sm font-medium;
@apply [&>span[data-line='']>*]:text-(--shiki-light) dark:[&>span[data-line='']>*]:text-(--shiki-dark);
}
.expressive-code {
@ -114,7 +115,7 @@
}
.katex-display {
@apply my-6 overflow-x-auto overflow-y-hidden;
@apply my-6 overflow-x-auto overflow-y-hidden tracking-normal;
}
}
}