8 lines
225 B
TypeScript
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);
|
||
|
}
|