Add your description here
Project description
Notionize
A Python library for converting Markdown text to Notion blocks.
Description
Notionize is a tool that helps you transform Markdown text into Notion-compatible blocks, making it easy to integrate your Markdown content with the Notion API.
Installation
pip install notionize
Usage
from notionize import notionize
markdown = """# Main Heading
This is a paragraph with formatting and a [link](https://example.com).
> Here's a blockquote
> With multiple lines
- List item 1
- Nested item
- List item 2
```python
def hello_world():
print("Hello World!")
```
| Header 1 | Header 2 |
| -------- | -------- |
| Cell 1 | Cell 2 |
"""
notion_blocks = notionize(markdown)
Contributing
Contributions are welcome! Please feel free to submit a Pull Request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
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
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 notionize-0.2.2.tar.gz.
File metadata
- Download URL: notionize-0.2.2.tar.gz
- Upload date:
- Size: 32.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
672fb33417c1d21e8d0fd6784e96a8eb387c58cc27f6ba7ec0a98bf7282c118a
|
|
| MD5 |
8c527f9670141f53917576542b051163
|
|
| BLAKE2b-256 |
a49bd6de04b905fda6faaabfb71c1a931633bb6f463678f452cbeac8c1b5116a
|
File details
Details for the file notionize-0.2.2-py3-none-any.whl.
File metadata
- Download URL: notionize-0.2.2-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31d06516dca4b26f2dbfb283c5f902bd2fcbf52be95464d8b4401a4c28ebdfcb
|
|
| MD5 |
fd8485bc18995eed0040a4acd01afd0a
|
|
| BLAKE2b-256 |
b32bd61b55be083b98ed106f324c32ee022033a99d79b854e22ac101719a920f
|