Skip to content

drbartling/obsidian-to-latex

Repository files navigation

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"

About

Attempting to make it easier to get good looking PDFs from obsidian using the command line

Resources

Stars

Watchers

Forks

Packages

No packages published