Skip to content

About

Local English parts-of-speech highlighting and style suggestions for MarkEdit

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MarkEdit-prose

English parts-of-speech highlighting and Style Check for MarkEdit that leverages markedit-api, powered by Compromise and write-good. All analysis runs locally.

Inspired by iA Writer’s Syntax Highlight and Style Check modes.

The extension highlights whatever parts of speech you choose (adjectives and adverbs here)

CleanShot 2026-10-27 at 4 29 21 PM@2x

It also runs them through an English language linter to make suggestions to improve your prose.

CleanShot 2026-10-27 at 4 29 28 PM@2x

Installation Notes

Turn off MarkEdit > Settings > Assistant > Inline Predictions. The extension's decorations can cause the grey predicted text to appear before the word being typed. This setting is separate from Suggest While Typing, which shows a completion list.

Configuration

Open Extensions > Prose to configure:

  • Parts of Speech: Toggle highlighting with Control–Option–Command–P.
  • Highlight Categories: Nouns in red, verbs in blue, adjectives in brown, adverbs in purple, and conjunctions in green.
  • Style Check: Toggle suggestion underlines with Control–Option–Command–S. Hover over an underline to see its part of speech and explanation.
  • Style Categories: Wordy phrases, unnecessary words, clichés, weakening qualifiers and adverbs, repeated words, passive voice, and custom phrase rules. Passive voice is off by default.
  • Personal Exceptions…: Add or remove phrases that Style Check should allow.
  • Custom Phrase Rules…: Add a phrase and an explanation, or remove an existing rule.

Analysis includes prose in headings, lists, table cells, visible link text, and footnotes. It skips code, link metadata, YAML front matter, math blocks, HTML tags/comments, and Markdown markers.

Both features start enabled. Colors adapt to light and dark themes. Suggestions are optional editing advice; text is never changed automatically.

Settings are remembered across launches in markedit-prose.settings.json beside the installed script. Custom rules match whole phrases, ignoring case and allowing flexible whitespace. See the guide for manual configuration, matching behavior, and limitations.

To update, replace the installed JavaScript with the latest release and restart MarkEdit. Keep the settings file to preserve your preferences. To remove the extension, delete its JavaScript and restart MarkEdit; delete the settings file too if you want to remove your preferences.

Building

Requires Bun 1.4.x.

bun install --frozen-lockfile
bun run check

The bundle is written to dist/markedit-prose.js. Copy it to MarkEdit's scripts folder to install your build.

bun run check runs lint, type-checking, tests, and the build. On macOS with Swift command-line tools, run bun run test:webkit to test the built bundle in WebKit.

About

Local English parts-of-speech highlighting and style suggestions for MarkEdit

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages