Skip to main content

simple and flexible html to markdown python converter

Project description


simple and flexible html to markdown python converter

  • Free software: MIT license


h2m.feed('''<h1>Level One Heading</h1>''')

assert == '''# Level One Heading'''

h2m.feed('''<h2>Level Two Heading</h2>''')

assert == '''## Level Two Heading'''

h2m.feed('''<h3>Level Three Heading</h3>''')

assert == '''### Level Three Heading'''


  • 2 levels table convert

  • raw text with <b> <strong> <i> <em>


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


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

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)

Uploaded source

Built Distribution

h2m-0.2.0-py2.py3-none-any.whl (6.0 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page