HTML to Markdown
Project description
htmltomd
htmltomd is a simple package for converting HTML to Markdown.
Getting Started
pip install htmltomd
import htmltomd
html = """
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
<div>
<h1><b>htmltomd</b></h1>
<br>
<p>
<i>htmltomd</i> is a simple package <br>for converting HTML to Markdown.
</p>
<h2>Getting Started</h2>
<p>
pip install htmltomd
</p>
<h2>Source code</h2>
<p>
<a href="https://github.com/taptorestart/htmltomd" target="_black">github.com/taptorestart/htmltomd</a>
</p>
<p>
<figure><img src="image.png"><figcaption>Image</figcaption></figure>
</p>
</div>
</body>
</html>
"""
result = htmltomd.html_to_md(html)
print(result)
Result
# **htmltomd**
*htmltomd* is a simple package
for converting HTML to Markdown.
## Getting Started
pip install htmltomd
## Source code
[github.com/taptorestart/htmltomd](https://github.com/taptorestart/htmltomd)

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
htmltomd-0.2.0.tar.gz
(5.7 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file htmltomd-0.2.0.tar.gz.
File metadata
- Download URL: htmltomd-0.2.0.tar.gz
- Upload date:
- Size: 5.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a52712e90e01bf725a58435a484bfb71b0a34764970150af6d0cec65c565ee61
|
|
| MD5 |
5ed8da1088e7316b1e75e05c25e371f4
|
|
| BLAKE2b-256 |
81d3c8ba80946e26f0fac3ec0d112cf0a642974bd7c0552d01eb6e3eee98e432
|
File details
Details for the file htmltomd-0.2.0-py3-none-any.whl.
File metadata
- Download URL: htmltomd-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
94a10bb59d9c67e9aeaaccbadd291b47df3af23ec8ea91dfc13b917f450278aa
|
|
| MD5 |
77bcb13f61482b32d9ae30f664d2b3e5
|
|
| BLAKE2b-256 |
6d5dbd37a4d07179b6f7580bbdcfedb1e019f375401e32da3dad1a3cd12170ae
|