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
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b97cbf5043d09c4e27c10ce583630c883af83c029fe1b6bac733ff1e86465d42
|
|
| MD5 |
6aed5160f138e890157d49494c3b09b5
|
|
| BLAKE2b-256 |
6434f3060891b953bb327d5be1902d58b8ae5f75f034ffb2921829f0e4870b23
|
File details
Details for the file outline_typst-0.1.0-py3-none-any.whl.
File metadata
- Download URL: outline_typst-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.19
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5eb56a38ccbc2e3d7892a78163d3831e9b77dc76d1b055ca3b52587b1d689f78
|
|
| MD5 |
48d760981d54f7359e0fb84afcbe0fe2
|
|
| BLAKE2b-256 |
2477578cfee2d9a2384632ffd833de6c2fbcbe5476aa47c03225b2199a8f686d
|