Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/qrac/minista-markdown
- Owner: qrac
- License: mit
- Created: 2022-04-09T07:02:18.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-04-25T13:16:42.000Z (over 2 years ago)
- Last Synced: 2024-11-16T08:07:47.908Z (about 2 months ago)
- Topics: cording, japanese, jsx, markdown, minista, minista-markdown, react
- Language: TypeScript
- Homepage:
- Size: 65.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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)