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:
parent
ffffc8a506
commit
9de3c9ca98
2 changed files with 6 additions and 10 deletions
|
@ -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",
|
||||
},
|
||||
])
|
||||
);
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue