Metadata-Version: 2.1
Name: md2htmlpy
Version: 1.0.0
Summary: Convert MD to HTML with full control over generated elements
Author-email: BlitzJB <blitz04.dev@gmail.com>
License: =?utf-8?q?The_MIT_License_=28MIT=29?=
 =?utf-8?q?_Copyright_=C2=A9_2022_Joshua_Bharathi?=
 =?utf-8?q?_?=
 =?utf-8?q?_Permission_is_hereby_granted=2C_free_of_charge=2C_to_any_person_obtaining_a_copy_of_this_software_and_associated_documentation_files_=28the_=E2=80=9CSoftware=E2=80=9D=29=2C_to_deal_in_the_Software_without_restriction=2C_including_without_limitation_the_rights_to_use=2C_copy=2C_modify=2C_merge=2C_publish=2C_distribute=2C_sublicense=2C_and/or_sell_copies_of_the_Software=2C_and_to_permit_persons_to_whom_the_Software_is_furnished_to_do_so=2C_subject_to_the_following_conditions=3A?=
 =?utf-8?q?_?=
 =?utf-8?q?_The_above_copyright_notice_and_this_permission_notice_shall_be_included_in_all_copies_or_substantial_portions_of_the_Software=2E?=
 =?utf-8?q?_?=
 =?utf-8?q?_THE_SOFTWARE_IS_PROVIDED_=E2=80=9CAS_IS=E2=80=9D=2C_WITHOUT_WARRANTY_OF_ANY_KIND=2C_EXPRESS_OR_IMPLIED=2C_INCLUDING_BUT_NOT_LIMITED_TO_THE_WARRANTIES_OF_MERCHANTABILITY=2C_FITNESS_FOR_A_PARTICULAR_PURPOSE_AND_NONINFRINGEMENT=2E_IN_NO_EVENT_SHALL_THE_AUTHORS_OR_COPYRIGHT_HOLDERS_BE_LIABLE_FOR_ANY_CLAIM=2C_DAMAGES_OR_OTHER_LIABILITY=2C_WHETHER_IN_AN_ACTION_OF_CONTRACT=2C_TORT_OR_OTHERWISE=2C_ARISING_FROM=2C_OUT_OF_OR_IN_CONNECTION_WITH_THE_SOFTWARE_OR_THE_USE_OR_OTHER_DEALINGS_IN_THE_SOFTWARE=2E?=
Project-URL: Homepage, https://github.com/blitzjb/md2htmlpy
Keywords: markdown,html,markdowntohtml
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE

# Md2HTMLpy

Md2HTMLpy is a library to convert markdown to html while maintaining full control over conversion.

## Installation
```
pip install md2htmlpy
```

## Example
```md
# This is test.md file
find more information [here](http://www.moreinfo.com)
```
```py
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
```py
from md2htmlpy import render_md

print(render_md('test.md'))
```
