diff options
Diffstat (limited to 'packages/desktop/src')
| -rw-r--r-- | packages/desktop/src/index.tsx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/packages/desktop/src/index.tsx b/packages/desktop/src/index.tsx index ac21b3c28..f9eb19a58 100644 --- a/packages/desktop/src/index.tsx +++ b/packages/desktop/src/index.tsx @@ -316,6 +316,10 @@ const createPlatform = (password: Accessor<string | null>): Platform => ({ setDefaultServerUrl: async (url: string | null) => { await invoke("set_default_server_url", { url }) }, + + parseMarkdown: async (markdown: string) => { + return invoke<string>("parse_markdown_command", { markdown }) + }, }) createMenu() |
