eslint-plugin-markdown-preferences weekly downloads statistics
By ota-meshi (12 listings) · npm · ESLint plugins
ESLint plugin that enforces our markdown preferences
eslint-plugin-markdown-preferences has 26,051 recorded weekly downloads on npm, an increase of 39.0% over the past 30 days, ranking #955 of 3,247 tracked listings.
About eslint-plugin-markdown-preferences
eslint-plugin-markdown-preferences
A specialized ESLint plugin that helps enforce consistent writing style and formatting conventions in Markdown files. Perfect for documentation projects, blog posts, and any Markdown content where consistency matters.
[][npm-package]
[
][npm-package]
[
][npmtrends]
[
][npmtrends]
[
][npmtrends]
[
][npmtrends]
[
][npmtrends]
📛 Features
- 📝 Comprehensive style enforcement Enforces consistent heading casing, table header casing, inline code/link usage, emoji notation, and more for unified document style.
- 🧩 Powerful formatting consistency Strongly standardizes Markdown formatting: whitespace, indentation, spacing, line breaks, list markers, code fences, links, references, thematic breaks, tables, and decorative elements—ensuring documents are clean and uniform.
- 🚀 Extended Markdown syntax support Supports custom containers, mathematical expressions, and other extended syntax for high compatibility with VitePress.
- 🔧 Auto-fix support
Most rules support ESLint's
--fixoption for automatic correction. - 🌐 Online Demo & Documentation Try it instantly in the Online Demo and see [full documentation][documentation site].
📖 Documentation
For detailed usage instructions, rule configurations, and examples, visit our comprehensive [documentation site].
💿 Installation
npm install --save-dev eslint @eslint/markdown eslint-plugin-markdown-preferences
<!--DOCS_IGNORE_END-->
📖 Usage
<!--USAGE_SECTION_START--> <!--USAGE_GUIDE_START-->Configuration
New Config (eslint.config.js)
Use eslint.config.js file to configure rules. See also: https://eslint.org/docs/latest/use/configure/configuration-files-new.
Example eslint.config.js:
import { defineConfig } from "eslint/config";
// import markdown from "@eslint/markdown";
import markdownPreferences from "eslint-plugin-markdown-preferences";
export default defineConfig([
// add more generic rule sets here, such as:
// markdown.configs.recommended,
markdownPreferences.configs.recommended,
{
files: ["**/*.md", "*.md"],
rules: {
// override/add rules settings here, such as:
// 'markdown-preferences/prefer-linked-words': 'error'
},
},
]);
This plugin provides configs:
*.configs.recommended... Recommended config provided by the plugin.*.configs.standard... Enforces opinionated stylistic conventions. You can extend this to enforce any stylistic conventions you like.
See the rule list to get the rules that this plugin provides.
Using Extended Syntax
This plugin experimentally supports some extended Markdown syntax.
To use these extended syntaxes, set the markdown-preferences/extended-syntax language option.
import { defineConfig } from "eslint/config";
import markdownPreferences from "eslint-plugin-markdown-preferences";
export default defineConfig([
{
extends: [markdownPreferences.configs.recommended],
language: "markdown-preferences/extended-syntax",
},
]);
The following syntaxes are supported:
-
Custom Containers
Example:::: warning This is a warning box. ::: -
Mathematical Expressions
Example:$$ E = mc^2 $$ -
VitePress-style Import Code Snippets syntax using triple left angle brackets
Example:<<< @/filepath
Legacy Config (.eslintrc)
Is not supported.
<!--USAGE_GUIDE_END--> <!--USAGE_SECTION_END-->✅ Rules
<!--RULES_SECTION_START-->The --fix option on the command line automatically fixes problems reported by rules which have a wrench 🔧 below.
The rules with the following ⭐ are included in the recommended config.
The rules with the following 💄 are included in the standard config.
Preference Rules
- Rules to unify the expression and description style of documents.
Description from the npm listing.
- eslint
- eslintplugin
- eslint-plugin
- markdown
- preferences
- lint
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (128)Similar npm ESLint plugins plugins
All 20 eslint-plugin-markdown-preferences alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/eslint-plugin-markdown-preferences. First seen Nov 22, 2026; last successful collection Dec 6, 2026. See the methodology.