UNPKG

react-scitext

Version:

React component for rendering scientific text with Markdown, LaTeX, and SMILES support

15 lines (14 loc) 441 B
import { ContentMatch } from '../../../types'; export declare class ContentParser { private text; constructor(text: string); parseContent(): ContentMatch[]; private findSmilesMatches; private findHeadingMatches; private findMathMatches; private findEnvironmentMatches; private isInListContext; private shouldSkipMathFragment; private filterNestedMatches; } //# sourceMappingURL=ContentParser.d.ts.map