2022-04-05 15:02:17 +00:00
|
|
|
import { syscall } from "./syscall";
|
2022-04-03 16:12:16 +00:00
|
|
|
|
2022-04-21 11:57:45 +00:00
|
|
|
import type { ParseTree } from "../silverbullet-common/tree";
|
2022-04-11 18:34:09 +00:00
|
|
|
|
|
|
|
export async function parseMarkdown(text: string): Promise<ParseTree> {
|
2022-04-04 09:51:41 +00:00
|
|
|
return syscall("markdown.parseMarkdown", text);
|
2022-04-03 16:12:16 +00:00
|
|
|
}
|