UNPKG

myst-parser

Version:
14 lines 596 B
import MarkdownIt from 'markdown-it'; import type { Plugin } from 'unified'; import type { AllOptions } from './fromMarkdown.js'; import type { GenericParent } from 'myst-common'; type Options = Partial<AllOptions>; export declare const defaultOptions: Omit<AllOptions, 'vfile'>; export declare function createTokenizer(opts?: Options): MarkdownIt; export declare function mystParse(content: string, opts?: Options): GenericParent; /** * MyST Parser as a Unified Plugin */ export declare const mystParser: Plugin<[Options?], string, GenericParent>; export {}; //# sourceMappingURL=myst.d.ts.map