@microsoft/fast-markdown-msft-react
v4.1.78
Published
Converter for markdown files to JSX as a string which can be embedded in a site
Downloads
183
Keywords
Readme
This project is no longer under active development
FAST Markdown MSFT React
This is a plugin for markdown-it and will convert markdown to strings which correspond to MSFT styled React components from the @microsoft/fast-components-react-msft
.
Installation
npm i --save @microsoft/fast-markdown-msft-react
Usage
import MarkdownIt from "markdown-it";
import FASTMarkdownIt from "@microsoft/fast-markdown-msft-react";
const md = new MarkdownIt({
html: true,
linkify: true,
typographer: true,
xhtmlOut: true
});
md.use(FASTMarkdownIt);
const markdown = "https://microsoft.com";
md.render(markdown);