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