Skip to content

numeralz/html-slacker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

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

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%