1
0
silverbullet/packages/plugos-silverbullet-syscall/markdown.ts

8 lines
225 B
TypeScript

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