Skip to content

Convert HTML to Slack's mrkdwn format

Notifications You must be signed in to change notification settings

qatalog/html-to-mrkdwn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

html-to-mrkdwn

Convert HTML to Slack's mrkdwn format.

const mrkdwn = require('html-to-mrkdwn')

const html = '<strong>Hello</strong> <a href="https://example.com">cruel</a> <em>world</em>!'

mrkdwn(html)
// *Hello* <https://example.com|cruel> _world_!

About

Convert HTML to Slack's mrkdwn format

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages

  • JavaScript 100.0%