feat: add patch to rehype-pretty-code
This commit is contained in:
parent
bbdb1ef828
commit
8e6df747e0
8 changed files with 595 additions and 91 deletions
|
@ -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 {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue