|
|
@@ -17,12 +17,12 @@ import { useInitDoc, type InitDoc } from './utils/init-doc';
|
|
|
import { useSetCaretLine, type SetCaretLine } from './utils/set-caret-line';
|
|
|
|
|
|
const markdownHighlighting = HighlightStyle.define([
|
|
|
- { tag: tags.heading1, fontSize: '1.6em', fontWeight: 'bold' },
|
|
|
- { tag: tags.heading2, fontSize: '1.4em', fontWeight: 'bold' },
|
|
|
- { tag: tags.heading3, fontSize: '1.2em', fontWeight: 'bold' },
|
|
|
- { tag: tags.heading4, fontSize: '1em', fontWeight: 'bold' },
|
|
|
- { tag: tags.heading5, fontSize: '0.8em', fontWeight: 'bold' },
|
|
|
- { tag: tags.heading6, fontSize: '0.6em', fontWeight: 'bold' },
|
|
|
+ { tag: tags.heading1, fontSize: '1.9em', fontWeight: 'bold' },
|
|
|
+ { tag: tags.heading2, fontSize: '1.6em', fontWeight: 'bold' },
|
|
|
+ { tag: tags.heading3, fontSize: '1.4em', fontWeight: 'bold' },
|
|
|
+ { tag: tags.heading4, fontSize: '1.35em', fontWeight: 'bold' },
|
|
|
+ { tag: tags.heading5, fontSize: '1.25em', fontWeight: 'bold' },
|
|
|
+ { tag: tags.heading6, fontSize: '1.2em', fontWeight: 'bold' },
|
|
|
]);
|
|
|
|
|
|
type UseCodeMirrorEditorUtils = {
|