1
0
silverbullet/plug-api/silverbullet-syscall/markdown.ts
2022-10-14 15:11:33 +02:00

8 lines
210 B
TypeScript

import { syscall } from "./syscall.ts";
import type { ParseTree } from "$sb/lib/tree.ts";
export function parseMarkdown(text: string): Promise<ParseTree> {
return syscall("markdown.parseMarkdown", text);
}