🚧 Added support for markdown preview footnotes

This commit is contained in:
2025-12-02 00:22:22 +08:00
parent dd3dd4ddb2
commit 17f3351cea
15 changed files with 1306 additions and 637 deletions

View File

@@ -157,11 +157,10 @@ const emojiPlugin = ViewPlugin.fromClass(EmojiPlugin, {
/**
* Base theme for emoji.
* Inherits font size and line height from parent element.
*/
const baseTheme = EditorView.baseTheme({
'.cm-emoji': {
fontSize: '1.2em',
lineHeight: '1',
verticalAlign: 'middle',
cursor: 'default'
}