2022-04-05 23:02:17 +08:00
|
|
|
import { syscall } from "./syscall";
|
2022-04-04 00:12:16 +08:00
|
|
|
|
2022-04-25 16:33:38 +08:00
|
|
|
import type { ParseTree } from "../common/tree";
|
2022-04-12 02:34:09 +08:00
|
|
|
|
|
|
|
export async function parseMarkdown(text: string): Promise<ParseTree> {
|
2022-04-04 17:51:41 +08:00
|
|
|
return syscall("markdown.parseMarkdown", text);
|
2022-04-04 00:12:16 +08:00
|
|
|
}
|