Skip to main content

HTML to Markdown converter.

Project description


HTML to Markdown converter


pip install -U html2md


As a command line tool:

# To convert a file.
html2md examples/hello.html

# To convert from stdin.
cat examples/hello.html | html2md

From a Python script:

import html2md

html = '''
<b><i>Hello</i></b> from <code>html2md</code>
<pre class="py"><code>

md = html2md.convert(html)

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

html2md-0.1.2.tar.gz (4.2 kB view hashes)

Uploaded source

Built Distribution

html2md-0.1.2-py3-none-any.whl (12.0 kB view hashes)

Uploaded 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