Skip to content

v0.1.2 (pre-release)

Pre-release
Pre-release

Choose a tag to compare

@SugarFatFree SugarFatFree released this 03 Sep 09:31
· 25 commits to main since this release

Pre-release. Stays at 0.x while its shape settles.

What changed

  • Uses the SDK's API module, lib/marktext-plus.lua, loaded with require. The plugin reads as sdk.show(result, language) rather than as a table literal whose spelling nothing checks.
  • Two files instead of one — which is the point: a plugin was limited to one file until require landed in the editor.

Everything else is as in 0.1.1: the two commands appear only when they apply, a translated selection comes back in a small window and a translated document in a panel beside your text, and the language question offers ten common ones to press.

What it asks for

document.read, ai.chat, storage.local, ui.contextMenu, ui.settings, ui.notifications.

It does not ask for document.write, so it cannot change your document, and it does not ask for network.request, so it cannot send your text anywhere the editor did not. The editor holds your API key and makes the request; the plugin never sees it.

Requires MarkText Plus 1.6.1 or newer. Community / Unverified — read plugin.lua before installing.