Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 2b0bab6

Browse files
committed
Use * for italics as it doesn't break when used mid-word
Signed-off-by: Michael Telatynski <[email protected]>
1 parent 6e31f69 commit 2b0bab6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/editor/operations.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export function formatRange(range: Range, action: Formatting): void {
4848
toggleInlineFormat(range, "**");
4949
break;
5050
case Formatting.Italics:
51-
toggleInlineFormat(range, "_");
51+
toggleInlineFormat(range, "*");
5252
break;
5353
case Formatting.Strikethrough:
5454
toggleInlineFormat(range, "<del>", "</del>");

0 commit comments

Comments
 (0)