mdfc (Markdown Flashcards) is a command-line application for creating and studying flashcards using ordinary Markdown files.
It is designed for learners who want to maintain study material using a text editor rather than a specialised flashcard application. Questions, answers and categories are stored in the same document, making decks straightforward to edit and share.
The application uses an adapted Leitner system to organise review sessions according to how well individual cards have been learned. This provides a structured approach to revision while keeping the overall workflow simple.
This is free and open source software.
Key Features
- Flashcards are stored in portable Markdown files.
- Uses an adapted Leitner spaced repetition system with four difficulty levels.
- Organises flashcards into categories using Markdown headings.
- Study cards from a selected category or across all categories.
- Supports randomised and sequential card presentation.
- Test mode presents a configurable number of random cards.
- Set the maximum number of cards in a review session.
- Study cards scheduled for future days using a configurable lookahead interval.
- Optionally display each card’s category during revision.
- Configurable line wrapping to suit terminal dimensions.
- Automatically maintains learning metadata within the Markdown document.
- Export a shareable copy of a deck with learning progress reset.
- Supports multiline questions and answers.
- Works with conventional text editors and version-control workflows.
Website: github.com/bttger/markdown-flashcards
Support:
Developer: Tom Boettger
License: GNU General Public License v3.0

mdfc is written in Go. Learn Go with our recommended free books and free tutorials.
Related Software
| Terminal-Based Flashcard Software | |
|---|---|
| hashcards | Plain text-based spaced repetition system for flashcards |
| repeater | Like a lightweight, text-based Anki you run in your terminal |
| mdfc | Learn with flashcards and spaced repetition |
| hascard | Minimal command-line utility for reviewing notes |
| HardV | Billed as a powerful cross-platform flashcard program |
| Vocage | Minimalistic terminal-based vocabulary-learning tool |
| Flashdown | Spaced repetition using flashcards in Markdown |
| carddown | Spaced repetition for markdown notes |
| terminal-anki | Keyboard-driven flashcards with spaced repetition and Anki imports |
| GoCard | Markdown-based flashcard system with spaced repetition |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.