Skip to main content

Convert Obsidian vault documents to typst and pdfs

Project description

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. Follow the intallation instructions 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.

watchexec --clear --restart --debounce 500 --exts py "isort . && black . && pytest && obsidian-to-typst ./examples/feature_guide/Widget.md"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

obsidian_to_typst-0.1.2.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

obsidian_to_typst-0.1.2-py3-none-any.whl (8.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page