markdown2slack is converter markdown to slack format
Project description
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>
Project details
Release history Release notifications | RSS feed
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 markdown2slack-0.2.0.tar.gz.
File metadata
- Download URL: markdown2slack-0.2.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
26e199b4a3b1ed5c0dc0eee956a137adc185afdf182e7dabe7fce016765ebab4
|
|
| MD5 |
d03d98a09ca7e4861d2cafb0816a5230
|
|
| BLAKE2b-256 |
7a7bf718df5f7cf049d385f69b67b0295500fcd1f37786d0bdac7c1fb670873b
|
File details
Details for the file markdown2slack-0.2.0-py3-none-any.whl.
File metadata
- Download URL: markdown2slack-0.2.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.11.4 Darwin/23.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
359d420c3d60cd13fd48511539199b433c473f409c451006b7cb8941a27ba391
|
|
| MD5 |
25f756cf68634ae8b1c5847229ae9a32
|
|
| BLAKE2b-256 |
6e3638ec1c616402bc8400ced49e64ae94bfa22199b30a29c41f4ab51a6c01bd
|