@textlint/markdown-to-ast
Version:
Parse Markdown to AST with location info.
9 lines • 346 B
TypeScript
import type { TxtDocumentNode } from "@textlint/ast-node-types";
import { ASTNodeTypes } from "@textlint/ast-node-types";
export { ASTNodeTypes as Syntax };
/**
* parse Markdown text and return ast mapped location info.
* @param {string} text
*/
export declare function parse(text: string): TxtDocumentNode;
//# sourceMappingURL=index.d.ts.map