Skip to content
This repository was archived by the owner on Jan 20, 2022. It is now read-only.

Commit 84c8d20

Browse files
committed
Fixes added markes disappearing, outline/outline#897
1 parent d9b4921 commit 84c8d20

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/marks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function renderMark(
2424
return <u>{props.children}</u>;
2525
case "deleted":
2626
return <del>{props.children}</del>;
27-
case "added":
27+
case "inserted":
2828
return <mark>{props.children}</mark>;
2929
default:
3030
return next();

src/plugins/MarkdownShortcuts.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const inlineShortcuts = [
77
{ mark: "italic", shortcut: "*" },
88
{ mark: "italic", shortcut: "_" },
99
{ mark: "code", shortcut: "`" },
10-
{ mark: "added", shortcut: "++" },
10+
{ mark: "inserted", shortcut: "++" },
1111
{ mark: "deleted", shortcut: "~~" },
1212
];
1313

0 commit comments

Comments
 (0)