Skip to content

Commit

Permalink
fix(toMarkdown): correctly produce strong/emphasis nodes
Browse files Browse the repository at this point in the history
  • Loading branch information
jstarpl committed Jan 31, 2024
1 parent e800f28 commit 818f067
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/apps/client/src/lib/prosemirrorDoc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function prosemirrorNodeToMarkdown(node: ProsemirrorNode): MdAstNode {
textNode = {
type: 'emphasis',
children: [textNode],
code: '__',
code: '_',
}
}
if (node.marks.find((mark) => mark.type === schema.marks.reverse)) {
Expand Down

0 comments on commit 818f067

Please sign in to comment.