Simple HTML to RML converter. It may be used to take output of TinyMCE or any other WYSIWYG html editor and use it in your RML template.
Installation with pip
pip install html2rml
Usage
This HTML code …
from html2rml import html2rml
html = """<p>This is text of simple paragraph.<br/> <b>This is bold.</b></p>"""
print(html2rml(html))
… will be converted to the following RML code.
<para style="p">This is text of simple paragraph.<br/> <b>This is bold.</b></para>
Metadata
Release files for html2rml 0.3.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| html2rml-0.3.2.tar.gz | 2.3 kB | Details |
Release files / html2rml-0.3.2.tar.gz
| Download URL | html2rml-0.3.2.tar.gz |
|---|---|
| Size | 2.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5bf99d4ccaecdb8e8bc4446f3d279ebe7a6d3a37ef8e1b72d9e83dd0e6349164
|
|
BLAKE2b-256 checksum How to use checksums |
f03b09213fda5cfb0d16229d0c3b6295c630ada5b8fd901975c012d48df48916
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
Python-urllib/2.7
|