Disable WYSIWYG editor

Hi there,

I’ve recently been wanting to use Anki to study. However, adding cards is turning out to be a huge pain, since the editor is a WYSIWYG editor, with improper support for common keyboard short-cuts (e.g. Ctrl-Z doesn’t work with MathJax blocks, it is not possible to copy MathJax blocks etc).

Is there a way to replace it with raw text input? I still want my cards to be processed, i.e. I do not want to use the raw HTML text editor.

You don’t want to see the raw HTML tags? Is the only issue MathJax?

If possible, I’d like to be able to use HTML tags (e.g. to form a list using <li> and <ul> tags), but I actively do not want it to show like a list in the editor.

Frankly, this forum has a great example of best case what could be, with raw text on left, and a preview on the right.

You should put backticks around the tags, like <li>.

Okay, so you do want the raw HTML view? What’s the issue with the existing HTML view?

I sorta understand you now. You thought putting HTML there would leave the HTML unprocessed, but that’s not what happens.

No, since I still want to be able to use MathJax, e.g. \(x^2 = -1\) in my text, without explicitly having to write out the <anki-mathjax> tags.

Okay, I’ve never tried this but putting \( \) doesn’t work? Maybe you can try some external editor and import the cards from there. Or keep the anki-mathjax tag ready to paste in your clipboard.

Putting \( and \) into HTML editor replaces them during writing, the moment I lose focus on the HTML editor. I.e. it replaces \( with <anki-mathjax> and correspondingly for \). This is likely what I will end up begrudgingly accepting, though the user experience is lacking due to surprising replacements.

How can I edit cards in an external editor? Are they available in a nice human-readable format as files somewhere?

Copy-pasting anki-mathjax is too burdensome - I already use my clipboard to copy paste learning material.

Try some addons like https://ankiweb.net/shared/info/1087328706