patchkit-markdown

1.0.1 • Public • Published

Markdown

Render markdown (commonly used in messages)

import * as Markdown from 'patchkit-markdown'
 
<Markdown.Block md={md} />
<Markdown.Inline md={md} />
 
// if provided, msg will supply username lookup for @-mentions
<Markdown.Block md={md} msg={msg} />

Use the .less file:

@import "node_modules/patchkit-markdown/styles.less"

Readme

Keywords

Package Sidebar

Install

npm i patchkit-markdown

Weekly Downloads

8

Version

1.0.1

License

GPL-3.0

Last publish

Collaborators

  • pfraze
  • cel