Skip to content

Repository files navigation

html-slacker

Converts HTML to Slack formatted markdown

Usage

Install HTMLSlacker from pip.

$ pip install html-slacker

Import library.

>>>fromhtmlslackerimportHTMLSlacker

Use it.

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

Test it.

$ pythonsetup.pytest

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

About

Converts HTML to Slack formatted markdown

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages