publishing

This commit is contained in:
jetstream0
2023-07-28 17:33:58 -07:00
parent a5cc8606d5
commit 28f1432648
6 changed files with 1632 additions and 0 deletions

11
npm/index.d.ts vendored Normal file
View File

@@ -0,0 +1,11 @@
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;