UnmarkdownDocs

AI Quick Actions

12 one-click AI editing actions that transform selected text directly in the editor. Powered by Claude Haiku.

What Are AI Quick Actions?

AI Quick Actions are 12 one-click editing operations that use AI to transform your text. Instead of writing prompts or switching to a separate tool, you select text in the editor, choose an action from the toolbar dropdown, and the AI rewrites your selection in place.

The 12 actions are organized into four categories: Quality (4), Structure (5), Tone (2), and Language (1). Each action is designed for a specific editing task, from fixing formatting artifacts to translating text into another language.

How They Work

Using an AI Quick Action:

  • Select the text you want to transform (or select nothing to operate on the whole document)
  • Click the AI button (Sparkles icon) in the toolbar
  • Choose the action you want to apply from the dropdown
  • The AI streams its output in real time, replacing your selection as it processes

All actions are selection-aware. If you select a paragraph, only that paragraph is transformed. If nothing is selected, the action applies to the entire document.

Streaming and Cancel

AI Quick Actions use streaming: the transformed text appears progressively in the editor as the AI generates it. During streaming, a cancel button appears in the toolbar. Click it to abort the action mid-stream. Partial output is discarded, and your original text is restored.

Undo

AI changes are part of the CodeMirror undo stack. Press Cmd+Z (Mac) or Ctrl+Z (Windows) immediately after an action completes to revert to your original text. This works the same as undoing any other edit.

AI Model

AI Quick Actions are powered by Claude Haiku (primary) with GPT-4o-mini as an automatic fallback. If the primary model is unavailable, the fallback kicks in transparently. You do not need to configure API keys or select a model.

Privacy

When you use an AI Quick Action, only the selected text is sent to the AI provider for processing. Your entire document is not sent. The AI provider does not store your text after processing, and it is not used for training.

No text is sent to any AI provider unless you explicitly trigger an action. The editor itself does not use AI for any background processing.

Quotas

AI Quick Actions require an Unmarkdown account and are subject to usage quotas:

  • Free plan: 10 lifetime actions total (not per day)
  • Pro plan: Unlimited actions (rate limited to 30 per hour)

Failed or cancelled actions do not count against your quota. Your remaining quota is displayed in the footer of the AI actions dropdown.

Not Available via API

AI Quick Actions are an in-app feature only. They are not exposed through the public REST API. The internal endpoint (POST /api/ai/edit) is used exclusively by the web editor.

Available Actions

The 12 AI Quick Actions:

  • Quality (4): Polish, Simplify, Make Concise, Clean Up
  • Structure (5): Summarize, Restructure, Extract Actions, To Table, To List
  • Tone (2): Professional, Casual
  • Language (1): Translate (10 languages)

See the Actions Reference for a detailed description of each action.