Skip to content

Latest commit

 

History

History
22 lines (13 loc) · 846 Bytes

README.md

File metadata and controls

22 lines (13 loc) · 846 Bytes

Obsidian to Latex

This utility attempts to make it easy to convert markdown documents written using obsidian into PDFs.

Requirements

  • latex
  • mermaid

Getting Started

This project uses python poetry. Follow the intallation instructions for poetry.

I'm using miktex for latex support. On windows, you can run winget install miktex

Run poetry install and poetry shell to install and and activate the python virtual environment.

Than, run obsidian_to_latex .\examples\feature_guide\Widget.md to convert the example document to a PDF. The PDF will be placed in .\examples\feature_guide\output\Widget.pdf.

watchexec.exe -crd500 -e py "isort . && black . && pytest && obsidian_to_latex.cmd .\examples\feature_guide\Widget.md"