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.3
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.3.tar.gz | 87.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| obsidian_to_typst-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 96.2 kB
Release files / obsidian_to_typst-0.2.3.tar.gz
| Download URL | obsidian_to_typst-0.2.3.tar.gz |
|---|---|
| Size | 87.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cefcf3fd21f312fc3fdd12ec63795e7b6380c3f32995e1aace0006bdb1951a17
|
|
BLAKE2b-256 checksum How to use checksums |
b430e9e66b619da74b3533cb5c2517d2b679c10e0ebc379146972c501b3d9fd6
|
| 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.3-py3-none-any.whl
| Download URL | obsidian_to_typst-0.2.3-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cc0d95d3f189e6c66e5c272887ab33c8dd61735da7e131b8c8a215f1ba0160a3
|
|
BLAKE2b-256 checksum How to use checksums |
a68dbdead3c78f4471fe98c6274fceca48026e9575515917f0b30d3edcabc740
|
| 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}
|