mirror of
https://github.com/streetwriters/notesnook.git
synced 2025-12-25 16:09:42 +01:00
feat: add strikethrough markdown shortcut
This commit is contained in:
@@ -33,6 +33,7 @@ const markdownPatterns = [
|
||||
{ start: "*", end: "*", format: "italic" },
|
||||
{ start: "_", end: "_", format: "italic" },
|
||||
{ start: "**", end: "**", format: "bold" },
|
||||
{ start: "~~", end: "~~", format: "strikethrough" },
|
||||
{ start: "`", end: "`", format: "code" },
|
||||
{ start: "#", format: "h1" },
|
||||
{ start: "##", format: "h2" },
|
||||
@@ -75,7 +76,6 @@ const markdownPatterns = [
|
||||
},
|
||||
{ start: "---", replacement: "<hr/>" },
|
||||
{ start: "--", replacement: "—" },
|
||||
{ start: "-", replacement: "—" },
|
||||
{ start: "(c)", replacement: "©" },
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user