Licence
GPL-3.0
Version
1.0.1
Deps
3
Vulns
0
Weekly
0
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"