Skip to content

Commit

Permalink
feat(markdown): add highlight syntax support
Browse files Browse the repository at this point in the history
- Implement markdown highlight syntax using '==' delimiters
- Enable mixable and whitespace-expelling highlight formatting
  • Loading branch information
mrcfps committed Mar 11, 2025
1 parent 0e43ade commit 220ebbf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/utils/src/editor/to_markdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -203,6 +203,12 @@ export const defaultMarkdownSerializer = new MarkdownSerializer(
},
escape: false,
},
highlight: {
open: '==',
close: '==',
mixable: true,
expelEnclosingWhitespace: true,
},
},
);

Expand Down

0 comments on commit 220ebbf

Please sign in to comment.