@atlassian-partner-engineering/bitbucket-html-to-slack

2.2.1 • Public • Published

bitbucket-html-to-slack

Usage

const convert = require('bitbucket-html-to-slack')
const html = '<p>external <a data-is-external-link="true" href="http://example.com" rel="nofollow">link</a></p>'
convert(html)

Test

npm test

Some symbols are escaped by zero-width-space, so be careful when edit __tests__/fixtures/.

To copy zer-width-whitespace into your clipboard use copy(String.fromCharCode(0x200B)) in Chrome Developers console.

Readme

Keywords

none

Package Sidebar

Install

npm i @atlassian-partner-engineering/bitbucket-html-to-slack

Weekly Downloads

1

Version

2.2.1

License

ISC

Unpacked Size

9.99 kB

Total Files

25

Last publish

Collaborators

  • icheremskyi
  • dan-kushnaryov
  • jsarafajr
  • daniel.hreben
  • kannonboy
  • modestfake
  • myokha