8 1
Contact Author Sign in to rate

Auto Markdown - fix version

0.88MB. Updated 2021-06-19.

Description

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: 2020-12-06 2020-09-12 2020-09-05 2020-08-15 --- 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. Automatic mode 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

Download

As add-ons are programs downloaded from the internet, they are potentially malicious. You should only download add-ons you trust.

Supported Anki versions:

To download this add-on, please copy and paste the following code into Anki 2.1:

15061497

If you were linked to this page from the internet, please open Anki on your computer, go to the Tools menu and then Add-ons>Browse & Install to paste in the code.

All Anki 2.1.x Add-Ons Contact Author

Reviews

on 1658308741
As of 2022-07, Anki 2.1.49:
While this addon has some small issues (I can't seem to get sub-lists working no matter what syntax I use) it seems to be the least-broken addon for displaying markdown AND code highlighting (using code blocks).

A tip for anyone trying to edit inline code appearance: this addon simply wraps characters in `backticks` into <code>blah blah</code>, so changing `code {}` with CSS in `card template` - styling will change those fields
on 1626746071
Auto-convert breaks inline images but manual convert is fine.
on 1625351672
Worked without any errors!
on 1613103627
thanks for the fix version
on 1611590784
Seems to work great so far. Keep it up!
on 1610809222
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.
on 1609366547
Thanks a lot. Great plugin, works seamlessly.
on 1606280771
works as the author said.
on 1600089152
Thx! great fro mac user!

it's a pitty that the code highlight of PHP is not supported, the php code is dark background.

```php
xxx
```
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.