Converts HTML to Slack formatted markdown
Project description
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
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
html-slacker-0.1.5.tar.gz
(2.4 kB
view hashes)
Built Distribution
Close
Hashes for html_slacker-0.1.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 821f0cb532ba0acb27939c658fe101110b61e6b29ea62ddd87c20112aed7fde8 |
|
MD5 | 8b443fcab540425dcc2b4c0b07d5b20a |
|
BLAKE2b-256 | cfcfedbb55ae04fa52ad8d81a62285c2fe3f7ac2935a7bd3c1523070665b5154 |