patchkit-markdown
v1.0.1
Published
Render markdown (commonly used in messages)
Downloads
9
Readme
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"