Files
Makoto-Markdown-to-HTML/npm/index.d.ts
jetstream0 28f1432648 publishing
2023-07-28 17:33:58 -07:00

12 lines
309 B
TypeScript

export type Warning = {
type: string;
message: string;
line_number?: number;
};
export type ParseResult = {
html: string;
warnings: Warning[];
};
export declare function parse_md_to_html_with_warnings(md: string): ParseResult;
export declare function parse_md_to_html(md: string): string;