2022-11-01 22:01:28 +08:00
|
|
|
import { syscall } from "$sb/silverbullet-syscall/syscall.ts";
|
2022-10-10 20:50:21 +08:00
|
|
|
|
2022-10-14 21:11:33 +08:00
|
|
|
import type { ParseTree } from "$sb/lib/tree.ts";
|
2022-10-10 20:50:21 +08:00
|
|
|
|
|
|
|
export function parseMarkdown(text: string): Promise<ParseTree> {
|
|
|
|
return syscall("markdown.parseMarkdown", text);
|
|
|
|
}
|