|
|
@@ -46,8 +46,6 @@ const defaultExtensions: Extension[] = [
|
|
|
markdown({ base: markdownLanguage, codeLanguages: languages }),
|
|
|
keymap.of([indentWithTab]),
|
|
|
Prec.lowest(keymap.of(defaultKeymap)),
|
|
|
- Prec.highest(syntaxHighlighting(markdownHighlighting)),
|
|
|
- Prec.lowest(syntaxHighlighting(defaultHighlightStyle)),
|
|
|
];
|
|
|
|
|
|
export const useCodeMirrorEditor = (props?: UseCodeMirror): UseCodeMirrorEditor => {
|