Skip to main content

Convert Outline exports to Typst markup

Project description

Outline to Typst Converter

Convert Outline exports to Typst markup.

Features

  • ProseMirror JSON support: Converts Outline's ProseMirror-based exports to Typst markup
  • Simple Python API: Convert with a single function call
  • Preserves document structure: Headings, lists, code blocks, and formatting are retained
  • Easy integration: Designed for use in scripts, pipelines, or larger applications

Installation

pip install outline-typst

Usage

Basic Example

from outline_typst import convert

# Example: ProseMirror JSON
outline_json = {
  ...fulljson
}
typst = convert(outline_json)
print(typst)

Testing

Run all tests:

uv run pytest

License

MIT License. See LICENSE.

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

outline_typst-0.1.0.tar.gz (46.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

outline_typst-0.1.0-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file outline_typst-0.1.0.tar.gz.

File metadata

  • Download URL: outline_typst-0.1.0.tar.gz
  • Upload date:
  • Size: 46.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.19

File hashes

Hashes for outline_typst-0.1.0.tar.gz
Algorithm Hash digest
SHA256 b97cbf5043d09c4e27c10ce583630c883af83c029fe1b6bac733ff1e86465d42
MD5 6aed5160f138e890157d49494c3b09b5
BLAKE2b-256 6434f3060891b953bb327d5be1902d58b8ae5f75f034ffb2921829f0e4870b23

See more details on using hashes here.

File details

Details for the file outline_typst-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for outline_typst-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5eb56a38ccbc2e3d7892a78163d3831e9b77dc76d1b055ca3b52587b1d689f78
MD5 48d760981d54f7359e0fb84afcbe0fe2
BLAKE2b-256 2477578cfee2d9a2384632ffd833de6c2fbcbe5476aa47c03225b2199a8f686d

See more details on using hashes here.

Supported by

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