1
0
Fork 0
mirror of https://github.com/kou029w/quot.git synced 2025-01-31 06:18:01 +00:00

use @codemirror/language

This commit is contained in:
Nebel 2022-09-17 19:01:37 +09:00
parent ffffc8a506
commit 9de3c9ca98
2 changed files with 6 additions and 10 deletions

View file

@ -41,7 +41,12 @@ export const quotHighlighting = syntaxHighlighting(
},
{
tag: t.monospace,
class: "code",
background: "var(--nc-bg-3)",
borderRadius: "0.25em",
padding: "0.2em 0.4em",
fontSize: "0.9em",
fontFamily: "var(--nc-font-mono)",
fontWeight: "bold",
},
])
);

View file

@ -35,12 +35,3 @@
color: var(--nc-lk-2);
cursor: pointer;
}
.editor .code {
background: var(--nc-bg-3);
border-radius: 0.25rem;
padding: 0.2rem 0.4rem;
font-size: 0.9rem;
font-family: var(--nc-font-mono);
font-weight: bold;
}