simple and flexible html to markdown python converter
Project description
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.
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
h2m-0.2.0.tar.gz
(25.2 kB
view hashes)