Any updates on the Markdown official integration?

It was mentioned here that it might be coming in the future, is that still the case?

I think Markdown would address some of the limitations of note formatting:

  • Has a very simple syntax.
  • Supports tables.
  • Supports code highlighting inline and blocks.
  • Not reliant on the WYSIWYG editor, since HTML is a pain to write manually. that means options like headings, quote blocks, and horizontal lines would be used more often.

Using add-ons for markdown support, or to address specific issues like code highlighting isn’t the best solution, since they often tend to break easily and notes heavily rely upon them.

2 Likes

Markdown is really good. Have been enjoying using it in Obsidian.

You can have something like a visual editor with markdown. Obsidian does something like this. I don’t know how to describe it but it’s basically if the cursor is near the asterisk, the asterisk is shown but otherwise you are shown the text with the formatting in it.

1 Like

I’ve also used Obsidian before, I think you’re referring to the live preview mode. but what I like about Markdown is that it’s still very readable even without it, so at least there’s the option not to implement it right away.

I just want to say that writing HTML is an absolute pain compared to Markdown. Especially when it involves code snippets. You cannot just paste code, you need to escape each character carefully. This makes Anki less useful for learning in these domains.

Markdown integration would be a big boon for Anki.

1 Like

I have found a good way to add Markdown support to Anki.

No Add-ons needed: Markdown support

A HTML preview would be helpful though.

1 Like

How so? I just tried it and it works without escaping.
I only see two issues:

  1. Anki displays card content as centered. That’s easy to solve, just remove the css property in .card{}
  2. There is no syntax highlighting. Not sure how this one could be solved.

Edit: I misread it. You were talking specifically about HTML, so of course you’re right.