DEV Community

Ben Weller
Ben Weller

Posted on Originally published at bweller.me

Convert Markdown to Anki Cards with VS Code and AnkiConnect

Convert Markdown to Anki Cards with VS Code and AnkiConnect

Setup

  • Install AnkiConnect in Anki.

  • Install the Anki extension in VS Code.

  • Update the VS Code settings.json file to include:

    "anki.md.insertNewCardID": true,
    "anki.md.updateCards": true,
    

Usage

Creating/Updating Cards

  • Open Anki.

  • In VS Code, navigate to any Markdown file from which you'd like to create Anki cards.

    • Note: The optimal format for this workflow is:
    ## Card Front
    
    Card back
    
  • Run one of the VS Code commands to send the content to a deck:

  • Your notes will now be up to date in Anki!


*I implemented these features: create, update

Top comments (0)