UNPKG

mathpix-markdown-it

Version:

Mathpix-markdown-it is an open source implementation of the mathpix-markdown spec written in Typescript. It relies on the following open source libraries: MathJax v3 (to render math with SVGs), markdown-it (for standard Markdown parsing)

10 lines (9 loc) 339 B
import * as React from 'react'; import { optionsMathpixMarkdown } from '../../mathpix-markdown-model'; export interface MathpixMarkdownProps extends optionsMathpixMarkdown { text: string; } declare class MathpixMarkdown extends React.Component<MathpixMarkdownProps> { render(): React.JSX.Element; } export default MathpixMarkdown;