Library that generates HTML output from JSON export of tiptap editor
Project description
tiptapy
Library that generates HTML output from JSON export of tiptap editor
import tiptapy
s = """
{
"type": "doc",
"content": [
{
"type": "paragraph",
"content": [
{
"type": "text",
"text": "This is some inserted text. 👋"
}
]
}
]
}
"""
out = tiptapy.to_html(s)
print(out)
# '<p><span>This is some inserted text. 👋</span></p>'
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tiptapy-0.1.0.tar.gz
(2.0 kB
view details)
File details
Details for the file tiptapy-0.1.0.tar.gz
.
File metadata
- Download URL: tiptapy-0.1.0.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 42729ebf473f3662fe846eab421e729af2695692d62f1a133530e6b331036d94 |
|
MD5 | e384b7872e65d1d2ba1e6f5f1edd0695 |
|
BLAKE2b-256 | 13dafcd35020aab3a269399cc2764b77df9667b242743eef16a4fde5f47587e0 |