Skip to content

Latest commit

 

History

History
50 lines (28 loc) · 685 Bytes

README.rst

File metadata and controls

50 lines (28 loc) · 685 Bytes

html-slacker

Converts HTML to Slack formatted markdown

Usage

Install HTMLSlacker from pip.

$ pip install html-slacker

Import library.

>>> from htmlslacker import HTMLSlacker

Use it.

>>> HTMLSlacker('<b>Hello</b>, <i>Slack</i>!').get_output()
'*Hello*, _Slack_!'

Test it.

$ 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