Metadata-Version: 2.4
Name: outline-typst
Version: 0.1.0
Summary: Convert Outline exports to Typst markup
Author-email: Lamkateh <perruque-gruau-7k@icloud.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/Lamkateh/outline-typst
Project-URL: Issues, https://github.com/Lamkateh/outline-typst/issues
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: pytest>=8.4.2
Requires-Dist: requests>=2.32.5
Dynamic: license-file

# Outline to Typst Converter

Convert [Outline](https://www.getoutline.com/) exports to [Typst](https://typst.app/) 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

```bash
pip install outline-typst
```

---

## Usage

### Basic Example

```python
from outline_typst import convert

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

---

## Testing

Run all tests:

```bash
uv run pytest
```

---

## License

MIT License. See [LICENSE](LICENSE).
