Metadata-Version: 2.1
Name: obsidian-to-typst
Version: 0.1.2
Summary: Convert Obsidian vault documents to typst and pdfs
Home-page: https://github.com/drbartling/obsidian-to-typst
License: MIT
Author: Ryan Bartling
Author-email: ryan.bartling@gmail.com
Requires-Python: >=3.9,<3.13
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Requires-Dist: click (>=8.1.7,<9.0.0)
Requires-Dist: colorama (>=0.4.6,<0.5.0)
Requires-Dist: colored-traceback (>=0.3.0,<0.4.0)
Requires-Dist: coloredlogs (>=15.0.1,<16.0.0)
Requires-Dist: pydantic (>=2.7.1,<3.0.0)
Project-URL: Repository, https://github.com/drbartling/obsidian-to-typst
Description-Content-Type: text/markdown

# 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"
```

