This package has been deprecated

Author message:

use @raid-ui/markdown instead

@raid/markdown-kit

0.18.2 • Public • Published

react-markdown-kit

Uses @raid/basic-kit components to render markdown

npm minzip size Dependencies Peer Dependencies License js-standard-style

Getting Started

Install with yarn or npm

yarn add @raid/markdown-kit
npm i -S @raid/markdown-kit

The markdown component converts markdown into DOM via React components which tie in with the @raid/basic-kit components.

import { Markdown } from '@raid/markdown-kit'
import { md } from './content.md'

render(
  <Markdown>{md}</Markdown,
  document.body
)

The elements property can be used to specify which components to use for which bits of Markdown. It uses markdown-to-jsx under the hood so mdx is also supported.

Contributing

Pull requests are always welcome, the project uses the standard code style. Please run npm test to ensure all tests are passing and add tests for any new features or updates.

For bugs and feature requests, please create an issue.

See the root readme for more information about how the repository is structured.

License

MIT

Package Sidebar

Install

npm i @raid/markdown-kit

Weekly Downloads

1

Version

0.18.2

License

MIT

Unpacked Size

16.9 kB

Total Files

8

Last publish

Collaborators

  • mattstyles