Metadata-Version: 2.1
Name: h2m
Version: 0.2.0
Summary: simple and flexible html to markdown python converter
Home-page: https://github.com/goooice/h2m
Author: goooice
Author-email: devel0per1991@outlook.com
License: MIT license
Keywords: h2m
Platform: UNKNOWN
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Natural Language :: English
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Requires-Python: >=3.7

=====
pyh2m
=====


.. image:: https://img.shields.io/pypi/v/h2m.svg
        :target: https://pypi.python.org/pypi/h2m


simple and flexible html to markdown python converter

* Free software: MIT license

Usages
-------

.. code::

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

        assert h2m.md() == '''# Level One Heading'''

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

        assert h2m.md() == '''## Level Two Heading'''

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

        assert h2m.md() == '''### Level Three Heading'''


Features
--------

* 2 levels table convert
* raw text with <b> <strong> <i> <em>


Credits
-------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

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.


