Converts HTML to Slack formatted markdown
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
htmlslacker
.gitignore
LICENSE.txt
README.rst
setup.cfg
setup.py
test_general.py

README.rst

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