A remark-lint preset that integrates retext plugins for automated proofreading of English text in Markdown. Current version 2.0.12 (April 2025). It bundles retext-equality, retext-profanities, retext-contractions, retext-diacritics, retext-spell, retext-indefinite-article, retext-repeated-words, retext-sentence-spacing, retext-quotes, and dictionary-en. Key differentiator: opinionated all-in-one setup for catching writing issues like he-she, profanity, contractions, spelling, and repeated words, directly in Markdown processing pipelines. Requires unified and remark-retext as peer dependencies.
npm install remark-preset-lint-retext-englishNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows how to import and use the preset with remark, processing a Markdown file and printing lint messages.
Upgrade to Node 16+.
Migrate to individual retext plugins (e.g., retext-equality, retext-spell).
Preinstall dictionary-en or configure offline dictionary.
Run 'npm install --save-dev remark-preset-lint-retext-english'.
Use import statement instead of require.
Run 'npm install unified'.