pyh2m
simple and flexible html to markdown python converter
Free software: MIT license
Usages
h2m.feed('''<h1>Level One Heading</h1>''')
assert h2m.md() == '''# Level One Heading'''
h2m.feed('''<h2>Level Two Heading</h2>''')
assert h2m.md() == '''## Level Two Heading'''
h2m.feed('''<h3>Level Three Heading</h3>''')
assert h2m.md() == '''### Level Three Heading'''
Features
2 levels table convert
raw text with <b> <strong> <i> <em>
Credits
This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.
History
0.2.0 (2020-05-22)
WIP: super 2 levels table convert
WIP: raw text with <b> <strong> <i> <em>
Fix: a lot of html convert bug in feed()
0.1.4 (2020-05-20)
Fix Table head convert ‘None’.
0.1.2 (2020-05-15)
only python 3
0.1.1 (2020-05-15)
fix readme
0.1.0 (2020-05-07)
First release on PyPI.
Release files for h2m 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| h2m-0.2.0.tar.gz | 25.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| h2m-0.2.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 31.2 kB
Release files / h2m-0.2.0.tar.gz
| Download URL | h2m-0.2.0.tar.gz |
|---|---|
| Size | 25.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b95b8dc044bf459e23dd857272b67ecfa5aecdd1c8ec50a505003d3e8d5b56ea
|
|
BLAKE2b-256 checksum How to use checksums |
5a87f70a651eb120ad7361135b194c306cfaaf3ad4070577cbad4749bcb96315
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3
|
Release files / h2m-0.2.0-py2.py3-none-any.whl
| Download URL | h2m-0.2.0-py2.py3-none-any.whl |
|---|---|
| Size | 6.0 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
b1c1b6f25b4e0fb269ea6cd743dea611d212f232fdd56ea64c7a58aa9db3682e
|
|
BLAKE2b-256 checksum How to use checksums |
9101465a95a202a0665f3328e0e4e99fe4a1602c43a14e09337f1c8d4cb44d47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.41.0 CPython/3.7.3
|