Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codex-team/html-slacker
Converts HTML to Slack formatted markdown
https://github.com/codex-team/html-slacker
converter html markdown markdown-converter pip slack
Last synced: about 2 months ago
JSON representation
Converts HTML to Slack formatted markdown
- Host: GitHub
- URL: https://github.com/codex-team/html-slacker
- Owner: codex-team
- License: mit
- Created: 2017-07-26T08:56:48.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2021-05-07T14:52:19.000Z (over 3 years ago)
- Last Synced: 2024-04-24T13:28:04.576Z (8 months ago)
- Topics: converter, html, markdown, markdown-converter, pip, slack
- Language: Python
- Size: 13.7 KB
- Stars: 16
- Watchers: 4
- Forks: 15
- Open Issues: 4
-
Metadata Files:
- Readme: README.rst
- License: LICENSE.txt
Awesome Lists containing this project
README
html-slacker
============Converts HTML to Slack formatted markdown
Usage
-----Install HTMLSlacker from pip.
.. code:: bash
$ pip install html-slacker
Import library.
.. code:: python
>>> from htmlslacker import HTMLSlacker
Use it.
.. code:: python
>>> HTMLSlacker('Hello, Slack!').get_output()
'*Hello*, _Slack_!'Test it.
.. code:: python
$ python setup.py test
Requirements
------------- Python >= 2.5
- htmlLinks
-----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