silverbullet/plug-api/syscalls/markdown.ts

8 lines
210 B
TypeScript

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