Anki add-on: Auto Markdown - fix version

NOTE: This version no longer works with the latest Anki with no current plans to fix it due to extensive changes in how the internals of Anki that this plugin relies on. I am currently using https://ankiweb.net/shared/info/1087328706 with some success. 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 Bugfixes, see https://github.com/natfarleydev/anki-auto-markdown/pull/10 for more info. 2020-09-12 Changed markdown to use html as the source. This enables formatting and images to be preserved when converting to markdown (see #4 ). Any problems, raise issues here 2020-09-05 Fixes fields.py error when editing fields. (Fixes #1 ) 2020-08-15 Adds better support for Night Mode. (Fixes #20 ) --- 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 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

GitHub repository: natfarleydev/anki-auto-markdown
Languages: Python, Makefile