mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-11 19:28:33 +00:00
refactor(desktop): move markdown rendering to rust (#10000)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user