Skip to content

v0.1.1 (pre-release)

Pre-release
Pre-release

Choose a tag to compare

@SugarFatFree SugarFatFree released this 03 Sep 08:05
· 27 commits to main since this release

Pre-release. Stays at 0.x while its shape settles, and changes when it needs to.

Rewritten as a Lua script plugin. The previous version shipped Dart source and could not run on anyone machine: the editor started it with Platform.resolvedExecutable, which in a release build is the editor own binary, so it launched a second editor and waited for it to speak JSON-RPC.

What changed

  • One Lua file that runs inside the editor. No build, no dependencies, the same on Windows, macOS and Linux.
  • The two commands are in the editor right-click menu, and each appears only when it applies — no Translate selection with nothing selected.
  • A translated selection comes back in a small window; a translated document opens in a panel beside your text. Neither replaces your selection.
  • The language question offers ten common languages to press; anything typed instead is used as it stands.
  • Menu entries, prompts and settings in English, 简体中文, 日本語, Deutsch and Français.

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; it is one file.