New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

slackify-markdown

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

slackify-markdown

Convert markdown into Slack-specific markdown

  • 1.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
129K
decreased by-5.62%
Maintainers
1
Weekly downloads
 
Created
Source

Slackify-Markdown

Build Status codecov

Slackify-Markdown is a Markdown to Slack-specific-markdown converter, based on Unified and Remark.

Install

npm install slackify-markdown

Usage

const slackifyMarkdown = require('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>
/*
Emojis

Emojis map can be passed through options to replace some specific emoji codes

const options = {
  emojis: { ':hello:': ':bye:' }
};

slackifyMarkdown(':hello: my fried!', options); // -> ':bye: my friend!'

Copyright Yevhenii Baraniuk, 2018

MIT Licence

Keywords

FAQs

Package last updated on 29 Mar 2018

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc