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
File details
Details for the file markdown2slack-0.1.1.tar.gz
.
File metadata
- Download URL: markdown2slack-0.1.1.tar.gz
- Upload date:
- Size: 2.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 | 55901d44afb8a7b2ddd285be179047fe31e9dca2a3d4d36fceb521e6830fa17d |
|
MD5 | 03a13b2332b0f7c69bb012617ba880fa |
|
BLAKE2b-256 | 0e45745ac1eed0ded21cde2d6643032053c3453c058867ca95e0395631ea5000 |
File details
Details for the file markdown2slack-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: markdown2slack-0.1.1-py3-none-any.whl
- Upload date:
- Size: 2.7 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 | f952ef09e9d6d06d06d4bfe0fdcb5894d269459af496dee5b716fcbf3f91556a |
|
MD5 | 5ea3c53effb283b9ee75873ae6ac118b |
|
BLAKE2b-256 | acef6fc76bea70900974a64275a9ada5410807a602f8cd271d3dc66feca3824d |