Obsidian to Typst
This utility attempts to make it easy to convert markdown documents written using obsidian into PDFs.
Requirements
- typst (>=0.14.0, needed for embedding PDFs as images)
- mermaid
- mutool
Getting Started
This project uses uv to manage its python environment. Follow the installation instructions for uv.
Install typst using a package manager or cargo install
Run uv sync to install and set up the python virtual environment.
Than, run uv 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.
watchexec --clear=clear --exts py "uv run ruff format && uv run ruff check --fix && uv run pytest && uv run obsidian-to-typst ./examples/feature_guide/Widget.md"
Metadata
Release files for obsidian-to-typst 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| obsidian_to_typst-0.2.4.tar.gz | 89.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| obsidian_to_typst-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 98.4 kB
Release files / obsidian_to_typst-0.2.4.tar.gz
| Download URL | obsidian_to_typst-0.2.4.tar.gz |
|---|---|
| Size | 89.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
13c84e057f2838c53df12518b8e6945e37985cfe8a14677d140c6073f57a9b8d
|
|
BLAKE2b-256 checksum How to use checksums |
2afa94c9b5610ef407fbd5888ddef606a5e7518801c4f17b5a69770982b04aa1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / obsidian_to_typst-0.2.4-py3-none-any.whl
| Download URL | obsidian_to_typst-0.2.4-py3-none-any.whl |
|---|---|
| Size | 9.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c6d58511b2db376b914ff7a1a56e286ce86966e7750b0b7ce88794f4038583c6
|
|
BLAKE2b-256 checksum How to use checksums |
d662e451a15ff6b8f944ddbdf1109995e2d11412cba372a815c2992a60dc96d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.27 {"installer":{"name":"uv","version":"0.9.27","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.2","id":"zara","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|