Skip to main content

simple and flexible html to markdown python converter

Project description

pyh2m

https://img.shields.io/pypi/v/h2m.svg

simple and flexible html to markdown python converter

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’’’

  • Free software: MIT license

Features

  • TODO Tables of gov

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

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


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.1.4.tar.gz (19.6 kB view hashes)

Uploaded Source

Built Distribution

h2m-0.1.4-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page