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)
8 lines (7 loc) • 341 B
TypeScript
import { TMarkdownItOptions } from '../mathpix-markdown-model';
/** String transformtion pipeline */
export declare const markdownToHtmlPipeline: (content: string, options?: TMarkdownItOptions) => any;
/**
* convert a markdown text to html
*/
export declare function markdownToHTML(markdown: string, options?: TMarkdownItOptions): string;