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

7 lines
217 B
TypeScript
Raw Normal View History

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