Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/qrac/minista-markdown

React component to easily convert Markdown to HTML in minista
https://github.com/qrac/minista-markdown

cording japanese jsx markdown minista minista-markdown react

Last synced: about 1 month ago
JSON representation

React component to easily convert Markdown to HTML in minista

Awesome Lists containing this project

README

        

# minista markdown











## About

[minista](https://github.com/qrac/minista) 内の Markdown を簡単に HTML へ変換する React コンポーネント。

### Include

- remark-gfm
- rehype-highlight
- rehype-react

## How To Use

### [npm](https://www.npmjs.com/package/minista-markdown)

```bash
$ npm install --save-dev minista-markdown
```

```tsx
import { Markdown } from "minista-markdown"

const markdownText = `# test`

const H1Red = (props: any) => {
return


}

const components = {
h1: H1Red,
}

export const PageMarkdown = () => {
return
}

export default PageMarkdown

// =>

test


```

## License

- MIT

## Credit

- Author: [Qrac](https://qrac.jp)
- Organization: [QRANOKO](https://qranoko.jp)