A simple parser that creates LaTeX Flashcards from Markdown Dokuments
With Version 0.1 the tool reads from a MarkDown file named sampleinput.md and builds .tex file, which is compiled with pdflatex.
For now you have to hard code your input file in the script. In line 19 you'll find the variable INPUT_FILE
. Here goes the Path of your Document. Like this:
# SampleInput file if located at your Desktop
INPUT_FILE = "/Users/MYUSER/Desktop/sampleinput.md"
After adding the path, you are ready to parse your markdown file.
python3.4 parser.py
The markdown file should look like this.
# Lecture
## Topic
### Question
Answer.
### Next Question
Next Answer.
## New Topic
### Look another Question
And another Answer.
This syntax makes it easy to write the file and use it as a summary at the same time.
- Version 0.3: New MarkDown Syntax. See Usage
- Version 0.2: basic ability to work with images
- Version 0.1: parses a MarkDown file that matches the syntax
- Kartei Package of Ronny Bergmann: https://github.com/kellertuer/Kartei