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)
16 lines (15 loc) • 418 B
TypeScript
import * as React from "react";
export interface PMathpixLoader {
children: React.ReactNode;
notScrolling?: boolean;
textAlignJustify?: boolean;
}
declare class MathpixLoader extends React.Component<PMathpixLoader> {
/** the state of the component */
state: {
isReadyToTypeSet: boolean;
};
componentDidMount(): void;
render(): React.JSX.Element;
}
export default MathpixLoader;