diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2021-02-14 19:32:36 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@dailly.me> | 2022-02-07 16:43:33 +0100 |
commit | e612a344629b999e90089710646e7a0bc68597d2 (patch) | |
tree | 8670b44572b827d251d13b0a3a8d65cdc3ddfd78 /editor/editor.css | |
parent | f4a59ed2811d4dca2daad58d083078c01488dd11 (diff) |
Update prosemirror
Diffstat (limited to 'editor/editor.css')
-rw-r--r-- | editor/editor.css | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/editor/editor.css b/editor/editor.css index 8f29bde..fb58773 100644 --- a/editor/editor.css +++ b/editor/editor.css @@ -324,3 +324,39 @@ li.ProseMirror-selectednode:after { } .ProseMirror p { margin-bottom: 1em } + +.editor em::before, .editor em::after { + content: "//" +} + +.editor blockquote p::before { + content: "> " +} + +.editor strong::before, .editor strong::after { + content: "**" +} + +.editor h1::before { + content: "# " +} + +.editor h2::before { + content: "## " +} + +.editor h3::before { + content: "### " +} + +.editor h4::before { + content: "#### " +} + +.editor h5::before { + content: "##### " +} + +.editor h6::before { + content: "###### " +} |