Skip to main content

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

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.6.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

html_slacker-0.1.6-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

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

Hashes for html-slacker-0.1.6.tar.gz
Algorithm Hash digest
SHA256 22dd8847d01e8516e75d8f6af8572356568cd439134b846b00e62dd1e4df4ee1
MD5 779a94cc50b28d426d93277c70483f8b
BLAKE2b-256 553be6fb83106593410b047deedcf13d3f7f34048d467ed58d34158ec1ffc273

See more details on using hashes here.

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

Hashes for html_slacker-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 4458b7c18eb45fda04433364fa065f0107599516fc3cb4ee59de01256821ce7f
MD5 1a323a75f5d765e09c67257583139425
BLAKE2b-256 fc4f2286db7784550360b0a1d0c0e929ef578d327d53f23dbb89a691b291c564

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page