Giter Site home page Giter Site logo

j0inas / carddown Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 3.59 MB

A tool to create Anki-LearningCards automatically with Markdown-Files.

License: MIT License

Python 100.00%
anki flashcards genanki learning markdwon obsidian obsidian-md parser learningcards python

carddown's People

Contributors

callmecrazyn avatar j0inas avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

callmecrazyn

carddown's Issues

Idea for different Syntax with ::

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?

::
This could be a question?

And the answer is here!
::

Alternatively we could use only ::

::
This could be another question?
::
And the corresponding answer is here!
::

Implement "Cardblock"-Syntax Parsing

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}
.....
...

Fix Bug for LaTex

The current state in anki is that you need to go to card-details for the LaTex-HTML to be recognized.

Implement Config support and create carddown.py to be the script which takes the user arguments.

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

    • custom cardinit, cardseperator etc.
  • path to media files

  • deckTag

  • startTag

  • color for Notelinking-Highlight

  • cards/dir to path

    • providing config to cli can be used to automatically update the provided cards

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.