silverbullet/plugos-silverbullet-syscall/markdown.ts

7 lines
213 B
TypeScript
Raw Normal View History

2022-04-04 00:12:16 +08:00
import {syscall} from "./syscall";
import type {MarkdownTree} from "../common/tree";
2022-04-04 17:51:41 +08:00
export async function parseMarkdown(text: string): Promise<MarkdownTree> {
return syscall("markdown.parseMarkdown", text);
2022-04-04 00:12:16 +08:00
}