Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/drbartling/obsidian-to-typst
https://github.com/drbartling/obsidian-to-typst
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/drbartling/obsidian-to-typst
- Owner: drbartling
- Created: 2023-12-26T18:40:52.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2024-05-16T15:09:12.000Z (8 months ago)
- Last Synced: 2024-09-18T11:30:35.564Z (4 months ago)
- Language: Python
- Size: 163 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
- jimsghstars - drbartling/obsidian-to-typst - (Python)
README
# Obsidian to Typst
This utility attempts to make it easy to convert markdown documents written using obsidian into PDFs.
## Requirements
- typst
- mermaid
- mutool## Getting Started
This project uses python [poetry](https://python-poetry.org/). Follow the [intallation instructions](https://python-poetry.org/docs/#installation) for poetry.
Install typst using a package manager or `cargo install`
Run `poetry install` and `poetry shell` to install and and activate the python virtual environment.
Than, run `obsidian_to_typst .\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 --clear --restart --debounce 500 --exts py "isort . && black . && pytest && obsidian-to-typst ./examples/feature_guide/Widget.md"
```