{"repo":"nicoespeon/md-to-slack","free":true,"listed":false,"github":"https://github.com/nicoespeon/md-to-slack","clone":"git clone https://github.com/nicoespeon/md-to-slack.git","description":"Converts Markdown to Slack-compatible text","language":"TypeScript","stars":13,"topics":["markdown","slack","slack-api"],"license":"MIT","category":"chat-messaging","readme_excerpt":"Markdown to Slack Converts Markdown to Slack-compatible text. Features - 💫 Converts input into Slack-compatible mrkdwn syntax - 🧱 Supports Markdown and GitHub Flavored Markdown syntaxes ✨ Usage You can then use markdownToSlack() to convert Markdown to Slack-compatible text: So text like: Gets transformed into the proper syntax for rendering it on Slack: ☑️ Supported syntax All of the basic Markdown syntax is supported and translated into Slack-compatible mrkdwn syntax. A few remarks though: - Headings ( # , ## , etc.) are not supported by mrkdwn, so they are stripped out - Same with images - GitHub Flavored Markdown checkboxes are converted into an equivalent emoji (☐ or ☒) 🔭 Next features 1. Support Markdown extended syntax (e.g. tables) 2. Generate Slack Block Kit-compatible objects, as an opt-in parameter We want to support the extended syntax, in particular things like tables and GitHub Flavored Markdown niceties. mrkdwn syntax has limited capabilities, so we intend to do a \"best possble conversion\" like we do for checkboxes. But the real deal will be to add the option for generating a Slack Block Kit-compatible output to render rich elements, such as images, checkboxes, tables, and other HTML elements in Slack. 🦺 Security consideration md-to-slack doesn't sanitize your text, it only converts the syntax. If your Markdown input was generated from an external source, consider sanitizing it before sending it to Slack to avoid cross-site scripting XSS attacks. 🤹 Alternat","default_branch":null,"files":null,"tree":[],"storefront":"/r/nicoespeon","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nicoespeon/md-to-slack/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}