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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file html-slacker-0.1.6.tar.gz.
File metadata
- Download URL: html-slacker-0.1.6.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
22dd8847d01e8516e75d8f6af8572356568cd439134b846b00e62dd1e4df4ee1
|
|
| MD5 |
779a94cc50b28d426d93277c70483f8b
|
|
| BLAKE2b-256 |
553be6fb83106593410b047deedcf13d3f7f34048d467ed58d34158ec1ffc273
|
File details
Details for the file html_slacker-0.1.6-py3-none-any.whl.
File metadata
- Download URL: html_slacker-0.1.6-py3-none-any.whl
- Upload date:
- Size: 3.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.19.8 CPython/3.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4458b7c18eb45fda04433364fa065f0107599516fc3cb4ee59de01256821ce7f
|
|
| MD5 |
1a323a75f5d765e09c67257583139425
|
|
| BLAKE2b-256 |
fc4f2286db7784550360b0a1d0c0e929ef578d327d53f23dbb89a691b291c564
|