Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

pullflow-slackify-markdown

hassan-pullflow61MIT4.3.3TypeScript support: included

Convert markdown into Slack-specific markdown

slack, markdown, slackify, parser, remark, unified

readme

Slackify-Markdown

Pullflow-Slackify-Markdown is extended version of Slackify-Markdown

Install

npm install pullflow-slackify-markdown

Usage

const slackifyMarkdown = require('pullflow-slackify-markdown');
const markdown = `
# List of items

* item 1
* item 2
* item 3

[here is an example](https://example.com)
`;

slackifyMarkdown(markdown);
/*
 *List of items*

 • item 1
 • item 2
 • item 3

 <https://example.com|here is an example>
/*

NodeJS version < 10

MIT Licence