silverbullet/plug-api/syscalls/markdown.ts

8 lines
210 B
TypeScript
Raw Normal View History

import { syscall } from "../syscall.ts";
2024-02-29 22:23:05 +08:00
import type { ParseTree } from "../lib/tree.ts";
export function parseMarkdown(text: string): Promise<ParseTree> {
return syscall("markdown.parseMarkdown", text);
}