https://github.com/drbartling/obsidian-to-latex
Attempting to make it easier to get good looking PDFs from obsidian using the command line
https://github.com/drbartling/obsidian-to-latex
Last synced: 4 months ago
JSON representation
Attempting to make it easier to get good looking PDFs from obsidian using the command line
- Host: GitHub
- URL: https://github.com/drbartling/obsidian-to-latex
- Owner: drbartling
- Created: 2023-01-28T17:21:57.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-12-18T03:39:22.000Z (over 1 year ago)
- Last Synced: 2024-11-16T22:19:42.733Z (5 months ago)
- Language: Python
- Size: 215 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- jimsghstars - drbartling/obsidian-to-latex - Attempting to make it easier to get good looking PDFs from obsidian using the command line (Python)
README
# 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](https://python-poetry.org/). Follow the [intallation instructions](https://python-poetry.org/docs/#installation) 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`.
```powershell
watchexec.exe -crd500 -e py "isort . && black . && pytest && obsidian_to_latex.cmd .\examples\feature_guide\Widget.md"
```