@microsoft/fast-markdown-msft-react

v4.1.25
Converter for markdown files to JSX as a string which can be embedded in a site

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);
npm i @microsoft/[email protected]

Metadata

  • MIT
  • Whatever
  • Microsoft
  • released 7/31/2019

Downloads