semvec/pypi-packages huggingface dataset:
obsidian_to_typst 0.1.0
Convert Obsidian vault documents to typst and pdfs
License: MIT
Requires Python: >=3.9,<3.13

# 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.exe -crd500 -e py "isort . && black . && pytest && obsidian_to_typst.cmd .\examples\feature_guide\Widget.md"
```