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.1.tar.gz (32.7 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.1-py3-none-any.whl (8.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for notionize-0.2.1.tar.gz
Algorithm Hash digest
SHA256 d5ff173aa60a3d6cce14c1b1a9aedfdac88a426c63de4ac675048619f7ee9441
MD5 96f40ff8f2067cc27ebf4a6d2571c3a9
BLAKE2b-256 7c23f73c0ef4439ab94acbceee11fe782cf3f6f305472e4bb365d0f0c0967c2d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: notionize-0.2.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3bf91a02a632c6cdb4d7fff568fd00cf5e8f8dc83f8b117da12d68114b9518f2
MD5 f892e36e373f4536f44a51dccde6e4ad
BLAKE2b-256 209797181eb0c5d50bc14e07809d4e6faffddfc86396203efe4dc9a645b66eea

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