Md2HTMLpy
Md2HTMLpy is a library to convert markdown to html while maintaining full control over conversion.
Installation
pip install md2htmlpy
Example
# This is test.md file
find more information [here](http://www.moreinfo.com)
from md2htmlpy import Client, Heading, render_md
Heading.set_attribute('class', 'test')
client = Client('test.md')
print(client.render())
# <h1 class="test">This is test.md file</h1><p>find more information <a href="http://www.moreinfo.com">here</a></p>
or if you dont want to customise the generation, simply
from md2htmlpy import render_md
print(render_md('test.md'))
Release files for md2htmlpy 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| md2htmlpy-1.0.0.tar.gz | 4.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| md2htmlpy-1.0.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.7 kB
Release files / md2htmlpy-1.0.0.tar.gz
| Download URL | md2htmlpy-1.0.0.tar.gz |
|---|---|
| Size | 4.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
573957e920c5086a8b11b3b8eab7481c28a36cb4524209f36921f86ccb01e787
|
|
BLAKE2b-256 checksum How to use checksums |
2ac279ab55ac61435d97c7a164961a0fb5e506564a409b90e3c04d196da9c9d7
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|
Release files / md2htmlpy-1.0.0-py3-none-any.whl
| Download URL | md2htmlpy-1.0.0-py3-none-any.whl |
|---|---|
| Size | 5.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1f1d3f6e1d0a8c33af04b7156663897e31546203de0d8a0583cd197e8d8f8783
|
|
BLAKE2b-256 checksum How to use checksums |
c786e44751c15da44382815b7d9c50dc5ee1bcca29431177075c14597125ae21
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.10.8
|