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.
Release files for notionize 0.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| notionize-0.2.4.tar.gz | 32.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| notionize-0.2.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 41.5 kB
Release files / notionize-0.2.4.tar.gz
| Download URL | notionize-0.2.4.tar.gz |
|---|---|
| Size | 32.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
eccad2fa2af6529ced2831e4b64de39dc11a037a3547408ac3695f2801524e2b
|
|
BLAKE2b-256 checksum How to use checksums |
682f90a3af9906a66a8116f7971d12ee269a5d2be3b7955f5e024acf5d0cdb38
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.2
|
Release files / notionize-0.2.4-py3-none-any.whl
| Download URL | notionize-0.2.4-py3-none-any.whl |
|---|---|
| Size | 8.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
aa6523bcd603f133e587e5a3d6d6b3b2fcc2203abb5519172092f7c059f8e6d3
|
|
BLAKE2b-256 checksum How to use checksums |
fabd49455bcfc3a72fdfe3cab3f631a79628a7bbfae2089ae4d8124f4e18ecb8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.6.2
|