Code Monkey home page Code Monkey logo

markdown-to-anki's Introduction

markdown card style

cards seperated by ---, front and back seperated by #flashcard

观放白鹰二首 
唐⋅ 李白 #flashcard 

【其一】 
八月边风高,胡鹰白锦毛。 
孤飞一片雪,百里见秋毫。 
【其二】 
寒冬十二月,苍鹰八九毛。 
寄言燕雀莫相啅,自有云霄万里高。

---

十一月四日风雨大作(其一)
宋⋅ 陆游 #flashcard 

风卷江湖雨暗村,四山声作海涛翻。 
溪柴火软蛮毡暖,我与狸奴不出门。

---

How to Use

usage: anki2.py [-h] [--deck_name DECK_NAME] [--model_name MODEL_NAME] [--debug] vault_path note_path

Sync Obsidian flashcards with Anki

positional arguments:
  vault_path            The file path to the Obsidian vault
  note_path             The path to the note folder within the vault

options:
  -h, --help            show this help message and exit
  --deck_name DECK_NAME
                        The name of the Anki deck (optional)
  --model_name MODEL_NAME
                        The name of the Anki model (optional)
  --debug               Enable debug logging

Install Python dependency

Run pip install against the requirements.txt file to install the program dependencies in your system:

pip install -r requirements.txt

Install AnkiConnect on Anki

  • Tools > Add-ons -> Get Add-ons...
  • Paste the code 2055492159 > Ok

markdown-to-anki's People

Contributors

linq avatar

Watchers

 avatar

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.