Haissam Makki35 downloadsSelect some text and pick “Melhorar desc” to fix its spelling, or “Melhorar desc com IA” to also make it clearer. Works with no setup.

Polish any text in Obsidian. Select it, right-click and pick an option:
The AI options open a preview with the text before and after. You can edit the result, then Aplicar (Ctrl+Enter), Copiar or Tentar de novo. Turn off Prévia antes de aplicar in the settings to replace the text right away instead (Ctrl+Z, or Cmd+Z on Mac, undoes it).
Every option is also a command in the command palette, so you can give it a hotkey in Settings → Hotkeys.
| Kind | What the AI does | Example |
|---|---|---|
| Bug report | What happens, where and when, with the example in its own paragraph | "quando coloco a mesma data nos dois campos nao aparece nada" → Ao preencher os campos "Data de Início" e "Data de Fim" com a mesma data, nenhum resultado é exibido. |
| Change or delivery | Starts with a past participle and says what changed and why it helps | "corrigi o combo que nao carregava" → Corrigido o carregamento do combo "Fornecedor", que impedia a filtragem. |
| Summary | One or two sentences with the essentials | |
| Title | Short and specific | "Problema que o filtro de fornecedor não está carregando" → Filtro "Fornecedor" não carrega resultados |
| Message | Clearer and polite, keeping the tone and any slang | "Bom dia Loryn, ... só tem mais 1." → Bom dia, Loryn! ... só resta mais uma. |
| Instruction or prompt | Problema, Resultado esperado and Ação |
The rules come from an editable prompt (see Settings).
Polir texto com IA works with no setup. You can switch engines in the settings:
ollama pull gemma3) and pick it in the settings. Desktop only.Markdown syntax is never "corrected": list and task markers, headings, quotes, bold and italic markers, [[links]], [text](url) targets, URLs, #tags, inline and block code, LaTeX and HTML tags. The AI never sees them: they are swapped for placeholders and put back afterwards. If the AI drops or duplicates one, nothing is changed and you get a notice.
Only the selected text is sent: to the LanguageTool server for Corrigir ortografia, and to the AI engine you picked for Polir texto com IA (Google Gemini, directly or through the plugin's server, or your local Ollama). On Gemini's free plan, Google may use the text to improve its models. Nothing else from your vault is sent.
The plugin only writes to the clipboard when you click Copiar in the preview. It never reads the clipboard.
Download main.js, manifest.json and styles.css from the latest release into <your vault>/.obsidian/plugins/polish/, then enable Po1ish in Settings → Community plugins. Requires Obsidian 1.13.0 or newer.
The worker/ folder is the Cloudflare Worker behind Plugin default. It keeps the Gemini key as a secret, only accepts text to revise (the prompt is fixed), limits each IP to 6 requests per minute, caps the free request and the answer length, and falls back to another Gemini model when one is slow or busy.
cd worker
npm install
npx wrangler login
npx wrangler secret put GEMINI_KEY
npx wrangler deploy
Then set SERVER_URL in src/ai.ts to the Worker's address.
npm install
npm run dev # rebuilds main.js on every change
npm run build # type-check and production build