0.0.3 • Published 5 years ago
ink-mdx v0.0.3
ink-mdx 
Markdown component for Ink. Uses MDX for markdown rendering.
Install
$ npm install ink-mdxUsage
import React from 'react';
import {render} from 'ink';
import MDX from 'ink-mdx';
render(<MDX content="# Hello" />);Props
content
Type: string
Markdown content. See MDX documentation for available components.
Supported components
ph1h2h3h4h5h6blockquoteulollitabletheadtbodytrtd/thcodeinlineCodepreemstrongdelhraimg