Skip to main content

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

notionize-0.2.0.tar.gz (31.4 kB view details)

Uploaded Source

Built Distribution

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

notionize-0.2.0-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

Details for the file notionize-0.2.0.tar.gz.

File metadata

  • Download URL: notionize-0.2.0.tar.gz
  • Upload date:
  • Size: 31.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.0

File hashes

Hashes for notionize-0.2.0.tar.gz
Algorithm Hash digest
SHA256 f26ddd905bb518bb40f88d676f6bf5858e00689e9c5daef2dbd0fa1329ab4514
MD5 4d9927fc86f8b6d3e883f3f46d50ee6d
BLAKE2b-256 778dec5452a71ae0fb4bdd31bb14ef33d3715b0a7b03cc96ea0cbf127420f12a

See more details on using hashes here.

File details

Details for the file notionize-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: notionize-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 8.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.6.0

File hashes

Hashes for notionize-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 946915487ab1ba84fe27d670f56cf7413994833c285655c3f2fc9d09b52a4c53
MD5 e1943f6598711d7b550a706316a72129
BLAKE2b-256 ac6201cbbeae2e44f470768bf52f33fa2553dc7544b88c50463876f91bfbb6d2

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