Using Markdown to highlight text

An observation: I do have an addon (which is at the moment not perfect: Markdown input - AnkiWeb) that does exactly this: you can toggle the edit fields to markdown or open a separate window to input markdown. It uses CodeMirror 6 and micromark/unified for conversion and what is stored in the database is HTML (so it will work in any reviewer). One of the outstanding issues is how to integrate the field mode with Svelte (as asked here: How to correctly add additional editingInputs) for better functionality.

2 Likes