5 1
Sign in to rate

Ankidown - The advanced importer for Anki

0.03MB. Updated 2020-04-17. Only supports Anki 2.1.x.
The author has shared 3 other item(s).

Description

Ankidown is an in-progress add-on for Anki, the spaced repetition system. It's primary purpose is to prevent duplicate effort and streamline the creation of Anki cards from your pre-existing non-anki notes. Currently Ankidown allows you to import a file and it's template, and convert it directly into a pre-existing Note Type (read the Anki manual if this is unfamiliar). Mostly the buttons do what they say they should. This add-on is still in its early-but-functional stage, so if you have a negative experience please go to the src glfharris/ankidown and leave a comment/suggestion instead of just down voting. ## Contributing Everyone is welcome to open issues and to suggest new features. Slight word of warning is that Ankidown is still in the rapid prototyping (read: chaotic) phase, so pull requests might not be the best idea till it's a little more stable. ## Changes 2020-04-16: Updated to work with python 3.8

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:

38786043

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

Reviews

on 1634206617
Great addon in principle. Not compatible with current Anki version I believe?
on 1590001342
Too fragile, not clearly explained
on 1579536000
Allows you to customize your notes as you wish in markdown. This is a great addon, but some observations are important:

>> To make it easier to read, my suggestions for this add on are:
>> 1 - Custom card delimiters
>> 2 - Handle empty fields on its own

It works best if you don't leave empty fields; for example using this template:

#Q {Front}
#C
{Choices}
#A {Back}
#E {Explanation}

Avoid leaving questions like this (it won't parse):
#Q the question
#A the answer

Or like this (it won't parse either):
#Q the question2
#C
#A the answer2
#E
Or this (since the "choices" field is in the same line unlike in the template):
#Q the question3
#C the choices3
#A the answer3
#E the explanation3

To import this, below, cards with a question, multiple choices, an aswer and explanation; with an .md file that looks like this (i suggest importing and taking a look):
from here ==>

#Q What's the first letter of the greek alphabet
#C
- alpha
- beta
- gamma
- delta
#A alpha
#E The first letter is alpha.
---
#Q Questions are separed with markdown horizontal lines, true or false?
#C
<ol type="a">
<li>True</li>
<li>False</li>
<li>Don't know</li>
</ol>
(this is the the way I found to do alphabetical lists, so it doesn't work like R Markdown)
#A b
#E False: they are separed by every \-\-\- (this appears as three consecutive dashes);
if you use `***` or `___` it doesnt work;

if you use more than three dashes, it counts a new cards at every three dashes.

eg.: \-\-\-\-\-\-\-\-\- (nine dashes) would separe the previous card and create three empty cards: `(previous card)`\-\-\-`(here)`\-\-\-`(here)`\-\-\-`(and here)`

<== To here

Probably you'll have a hard time with markdown tables, because of the --- thing, for this i'd suggest using html tables.

However, you may edit the cards' input, and if you do it in that field you may get the results you want, for example, getting three "inline code" dashes with: `---` (it works only there, if it is in the .md file it'll simply split into a new card)

Also worth mentioning that it wont transform the fields in html headers (as it would in markdown) because the "#" is being interpreted as part of the import template.
on 1578043721
fantastic! boost the process of importing text. Currently, it's the best resolution on Anki 2.1
on 1575096955
I've been trying to get the old Ankdown to work but for some reason I kept getting win error 5 access denied for subproccesses. This new version / plugin fixes all that and more. I've been looking for a extension like this! Thank you so much!

For type cloze deletion templates,

I believe you have to make sure there aren't any unnecessary blank lines between your fields. If you do, you may get a "Unable to parse" error message.

Also, if your type cloze field (typing version of cloze deletion) is named like {{type:cloze:Associations}} in the template area for the actual card, you would have to make the ankdown template to say only the field name by excluding the "type:cloze" part to get a reduced name like {Associations}.

For example:

Ankdown template:

# {Name}
## Aetiology
{Aetiology}
## Features
{Features}
## Associations
{Associations}

Actual Anki Card Template:
{Name}

{Aetiology}

{Features}

{{type:cloze:Associations}}


To add, the cloze deletion has to be added yourself.
on 1566858778
Amazing addon!! Anyway to add image support? Or close support?
Comment from author
Thanks! Currently if you fully resolve an image url in markdown (i.e. ![](https:://path.to/image.jpg)), it should work. However, local images aren't currently implemented, although this is on the todo list. Same thing with cloze support, it's doable, and I'm intending to add it, just hasn't made it to the v0.0.1.