j0inas / carddown Goto Github PK
View Code? Open in Web Editor NEWA tool to create Anki-LearningCards automatically with Markdown-Files.
License: MIT License
A tool to create Anki-LearningCards automatically with Markdown-Files.
License: MIT License
Right now it is simply the directory where the md-files are located.
It is important to also create an option for the card - syntax to end when hitting a ---
. This needs to be done first, so the deck won't be implemented in a card.
Possible fix with os.rename()
.
I had the idea to use ::
as a syntax element for marking the Cards.
This is very effortless to write and should not clash with markdown syntax.
:::
is used sometimes but ::
is not (atleast i am not aware of it)
What do you think?
And the answer is here!
::
Alternatively we could use only ::
::
This could be another question?
::
And the corresponding answer is here!
::
Specifically the [[]]
or replace_tag
in general should be tested.
Certain code can be optimized from O(n)
to O(n log n)
.
To define a card with this syntax one simply has 3(or 2) Syntax-Elements that wrap around the different sections of the card.
Card Begin: Identifies the beginning
p.e.: {card}
Card Separator: "Flips" the card over. Identifies the next card side
p.e.: ----
Card End: Ends the card.
p.e.: {end}
(i would prefer the Separator and end to be the same element.
so the second occurence of the separator would stop the card)
To create a valid card with this syntax, 2 options exist:
Option 1:
{card}
Question/Front of Card
----
Answer/Backside
----
Option 2:
{card}
Question/Front of Card
----
Answer/Backside
{card}
.....
...
The current state in anki is that you need to go to card-details for the LaTex-HTML to be recognized.
allow users to provide config files with the prefered Parser/Syntax, path to media files, etc.
also support commandline parameters for easier usage
What options should the config file provide:
choice of Parser
define non standard keywords
path to media files
deckTag
startTag
color for Notelinking-Highlight
cards/dir to path
Currently we have not stated any license usage. So we are basically not really open source/free-use.
when done - test it and make it an option in config
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.