1.0.1 • Published 8 years ago

patchkit-markdown v1.0.1

Weekly downloads
2
License
GPL-3.0
Repository
github
Last release
8 years ago

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"