Markdown to Slack Format Conversion Tool
This tool was developed to simplify the conversion of Markdown text to the format accepted by Slack. By using this tool, you can complement the Slack API and easily send formatted messages to channels, groups, and direct conversations on Slack, leveraging the platform's unique formatting.
Features
Automatic Conversion: Automatically converts Markdown text to Slack format.
How to use
-
Install the library:
pip install markdown2slack
-
Import the library and create an instance in your code:
from markdown2slack.app import Convert converter = Convert()
-
Convert the Markdown text to Slack format:
markdown_text = """ # Heading **Bold text** *Italic text* [Link](https://example.com) """ slack_text = converter.markdown_to_slack_format(markdown_text) print(slack_text)
Example
Before
**Bold text**
*Italic text*
[Link](https://example.com)
After
*Bold text*
_Italic text_
<https://example.com|Link>
Metadata
Release files for markdown2slack 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| markdown2slack-0.2.0.tar.gz | 4.1 kB | Without provenance | Details for markdown2slack-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| markdown2slack-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for markdown2slack-0.2.0-py3-none-any.whl |
Total release size: 8.2 kB
Release files / markdown2slack-0.2.0.tar.gz
| Download URL | markdown2slack-0.2.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26e199b4a3b1ed5c0dc0eee956a137adc185afdf182e7dabe7fce016765ebab4
|
|
BLAKE2b-256 checksum How to use checksums |
7a7bf718df5f7cf049d385f69b67b0295500fcd1f37786d0bdac7c1fb670873b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Darwin/23.5.0
|
Release files / markdown2slack-0.2.0-py3-none-any.whl
| Download URL | markdown2slack-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
359d420c3d60cd13fd48511539199b433c473f409c451006b7cb8941a27ba391
|
|
BLAKE2b-256 checksum How to use checksums |
6e3638ec1c616402bc8400ced49e64ae94bfa22199b30a29c41f4ab51a6c01bd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.5.1 CPython/3.11.4 Darwin/23.5.0
|
Security for markdown2slack 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.