Render Markdown to PDF with Pandoc + XeLaTeX. *(For MacOS & Linus)
Requires pandoc and xelatex.
Note: Deactivate any active conda environments before starting up.
python -m venv .venv
. .venv/bin/activate
python -m pip install -r requirements.txt
python run_local.pypython -m src.cli path/to/file.md -o path/to/file.pdf
./convert.sh path/to/file.mdThe converter uses the bundled template, Lua filter, and bundled fonts directly.
uvicorn src.api:app --host 0.0.0.0 --port 8000If the uvicorn CLI is slow to start on your machine, use:
python run_local.pyOpen http://localhost:8000 for the local web app.
POST Markdown text to /convert and it returns a PDF.