@nteract/markdown
TypeScript icon, indicating that this package has built-in type declarations

4.6.2 • Public • Published

@nteract/markdown

This package contains components that allow us to render Markdown text per the Commonmark specification. It also supports rendering in-line and block math using the LaTeX syntax.

Installation

$ yarn add @nteract/markdown
$ npm install --save @nteract/markdown

Usage

The example below shows how we can use this package to render Commonmark-specified Markdown with LaTeX math.

import MarkdownRender from "@nteract/markdown";

export default () => {
  return (
    <MarkdownRender
      source={`Just some $\delta_{\alpha}$ math and __formatting__.`}
    />
  );
};

Documentation

You can view the reference documentation for @nteract/markdown in the the examples.

Support

If you experience an issue while using this package or have a feature request, please file an issue on the issue board.

License

BSD-3-Clause

Dependents (7)

Package Sidebar

Install

npm i @nteract/markdown

Weekly Downloads

6,669

Version

4.6.2

License

BSD-3-Clause

Unpacked Size

24.6 kB

Total Files

17

Last publish

Collaborators

  • hydrosquall
  • benabel
  • alexandercbooth
  • benrussert
  • mpacer
  • theengineear
  • yuvipanda
  • rgbkrk
  • lgeiger
  • ivanov
  • captainsafia
  • peggyrayzis
  • jdetle
  • hasch
  • willingc
  • stormpython
  • crystalline-cat
  • emeeks