0.88MB. Updated 2021-06-19. Only supports Anki 2.1.x.
This is a fix version of the excellent addon by @gregorr with bugfixes to work with the latest stable Anki (including native Night Mode).
See Github to contribute.
Recent changelog (for full changelog see here:
This add-on was developed to bring the Markdown functionality provided by Power Format Pack to Anki 2.1. It is not a port of Power Format Pack, nor is it backwards compatible with fields generated by Power Format Pack.
Note: a lot of the other functionality provided by Power Format Pack is available between Mini Format Pack, Add Table, and, Add Hyperlink.
See github.com to contribute.
There are two ways to use this add-on: automatic mode and manual mode. Editing of the generated HTML is prevented in both cases.
To indicate that a field should be automatically converted to and from HTML when losing and gaining focus, go to Tools -> Manage Note Types -> Fields for the note type in question and click the checkbox:
Automatic mode demo:Manual mode
In this mode, you toggle between Markdown and HTML using the button or its shortcut. The shortcut defaults to Ctrl + M and can be changed in the configuration.
Manual mode demo:HISTORY
18/06/19 - fix automatic mode error
30/04/19 - prevent editing of generated HTML
17/04/19 - fix empty markdown issue
03/11/18 - add fix for nested lists
01/11/18 - initial release
As add-ons are programs downloaded from the internet, they are
malicious. You should only download add-ons you trust.
Supported Anki versions:
2.1.44+ (updated 2021-06-19)
To download this add-on, please copy and paste the following code
into Anki 2.1:
If you were linked to this page from the internet, please open Anki
your computer, go to the
Tools menu and then Add-ons>Browse & Install to paste in
Auto-convert breaks inline images but manual convert is fine.
Worked without any errors!
thanks for the fix version
Seems to work great so far. Keep it up!
Hey, thanks for your work. I just thought I'd let you know that I was unable to use this addon to create a Markdown nested unordered list, even though it was correct Markdown -- I can tell because I used an online Markdown to HTML conversion tool and it worked well (and that's how I'm getting my list into Anki).
Comment from author
Hey, sounds like an interesting problem, could you raise it here? https://github.com/natfarleydev/anki-auto-markdown/issues I've never needed this feature so I haven't tested it before.
Thanks a lot. Great plugin, works seamlessly.
works as the author said.
Thx! great fro mac user!
it's a pitty that the code highlight of PHP is not supported, the php code is dark background.
Comment from author
Thanks! Can you raise an issue with more detail (e.g. some php code that doesn't work) on github? https://github.com/natfarleydev/anki-auto-markdown/issues . That way I can track them more easily and the right people can see/help.