use-syntaxer
v1.0.0
Published
Enter your markdown code and get back a perfect render with code syntax highlighting.
Downloads
6
Maintainers
Readme
use-syntaxer
Enter your markdown code and get back a perfect render with code syntax highlighting.
Usage
import { RenderMarkdown } from 'use-syntaxer';
const index = () => {
return (
<div>
<RenderMarkdown code={code} />
</div>
);
};
Note
- To see full working usage go to this repo.
- Project which uses this package live on the internet MarkdownPreviewer.