Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/codex-team/html-slacker

Converts HTML to Slack formatted markdown
https://github.com/codex-team/html-slacker

converter html markdown markdown-converter pip slack

Last synced: about 3 hours ago
JSON representation

Converts HTML to Slack formatted markdown

Awesome Lists containing this project

README

        

html-slacker
============

Converts HTML to Slack formatted markdown

Usage
-----

Install HTMLSlacker from pip.

.. code:: bash

$ pip install html-slacker

Import library.

.. code:: python

>>> from htmlslacker import HTMLSlacker

Use it.

.. code:: python

>>> HTMLSlacker('Hello, Slack!').get_output()
'*Hello*, _Slack_!'

Test it.

.. code:: python

$ python setup.py test

Requirements
------------

- Python >= 2.5
- html

Links
-----

Repository: https://github.com/codex-team/html-slacker

Report a bug: https://github.com/codex-team/html-slacker/issues

PyPI Package: https://pypi.python.org/pypi/html-slacker

CodeX Team: https://ifmo.su