1
0
silverbullet/plug-api/silverbullet-syscall/markdown.ts

8 lines
233 B
TypeScript
Raw Normal View History

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