Gathering detailed insights and metrics for remark-preset-lint-markdown-style-guide
Gathering detailed insights and metrics for remark-preset-lint-markdown-style-guide
Gathering detailed insights and metrics for remark-preset-lint-markdown-style-guide
Gathering detailed insights and metrics for remark-preset-lint-markdown-style-guide
@psirenny/remark-preset
psirenny's remark config
@psirenny/retext-preset
psirenny's remark config
@telus/remark-config
remark preset to configure remark-lint with rules that enforce the markdown style guide
@svengreb/remark-preset-lint
The opinionated, yet universally applicable Markdown code style guide rules as an extensible remark-lint rule preset
plugins to check (lint) markdown code style
npm install remark-preset-lint-markdown-style-guide
Typescript
Module System
Node Version
NPM Version
remark-lint-no-unused-definitions@4.0.2
Updated on Apr 10, 2025
remark-lint-fenced-code-flag@4.2.0
Updated on Apr 09, 2025
remark-lint-no-undefined-references@5.0.2
Updated on Apr 09, 2025
10.0.1
Updated on Jan 27, 2025
remark-lint-table-cell-padding@5.1.0
Updated on Jan 27, 2025
remark-lint-table-pipe-alignment@4.1.0
Updated on Jan 27, 2025
JavaScript (100%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
MIT License
987 Stars
629 Commits
135 Forks
19 Watchers
1 Branches
55 Contributors
Updated on Jul 13, 2025
Latest Version
6.0.1
Package Id
remark-preset-lint-markdown-style-guide@6.0.1
Unpacked Size
27.80 kB
Size
5.52 kB
File Count
5
NPM Version
11.0.0
Node Version
23.1.0
Published on
Jan 27, 2025
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
44
Preset of remark-lint
rules that follow an opinionated style guide.
This package is a preset containing remark-lint
rules.
Lint rules check markdown code style.
You can use this package to check that markdown follows the Markdown Style Guide.
This uses the following style guide option system: wrap:space
,
header:atx
, list-marker:hyphen
, list-space:mixed
, and code:fenced
.
space-sentence
Both space-sentence:1
and space-sentence:2
are not supported by
remark-lint
as they relate to prose rather than markdown syntax.
You could set-up
remark-retext
with
retext-sentence-spacing
to check this.
wrap
wrap:inner-sentence
and wrap:sentence
are not supported by remark-lint
.
The default is wrap:space
.
To use wrap:no
, turn off remark-lint-maximum-line-length
like so:
1 "plugins": [ 2 … 3 "remark-preset-lint-markdown-style-guide", 4+ ["remark-lint-maximum-line-length", false], 5 … 6 ]
header
The default is header:atx
.
To use header:setext
, change the setting for remark-lint-heading-style
like so:
1 "plugins": [ 2 … 3 "remark-preset-lint-markdown-style-guide", 4+ ["remark-lint-heading-style", "setext"], 5 … 6 ]
list-marker
The default is list-marker:hyphen
.
For list-marker:asterisk
or list-marker:plus
, change the setting for
remark-lint-unordered-list-marker-style
like so:
1 "plugins": [ 2 … 3 "remark-preset-lint-markdown-style-guide", 4+ ["remark-lint-unordered-list-marker-style", "*"], 5 … 6 ]
list-space
The default is list-space:mixed
.
For list-space:1
, change the setting for remark-lint-list-item-indent
like so:
1 "plugins": [ 2 … 3 "remark-preset-lint-markdown-style-guide", 4+ ["remark-lint-list-item-indent", "space"], 5 … 6 ]
code
The default is code:fenced
.
For code:indented
, change the setting for remark-lint-code-block-style
like so:
1 "plugins": [ 2 … 3 "remark-preset-lint-markdown-style-guide", 4+ ["remark-lint-code-block-style", "indented"], 5 … 6 ]
This preset includes the following plugins:
This package is ESM only. In Node.js (version 16+), install with npm:
1npm install remark-preset-lint-markdown-style-guide
In Deno with esm.sh
:
1import remarkPresetLintMarkdownStyleGuide from 'https://esm.sh/remark-preset-lint-markdown-style-guide@6'
In browsers with esm.sh
:
1<script type="module"> 2 import remarkPresetLintMarkdownStyleGuide from 'https://esm.sh/remark-preset-lint-markdown-style-guide@6?bundle' 3</script>
On the API:
1import remarkParse from 'remark-parse' 2import remarkPresetLintMarkdownStyleGuide from 'remark-preset-lint-markdown-style-guide' 3import remarkStringify from 'remark-stringify' 4import {read} from 'to-vfile' 5import {unified} from 'unified' 6import {reporter} from 'vfile-reporter' 7 8const file = await read('example.md') 9 10await unified() 11 .use(remarkParse) 12 .use(remarkPresetLintMarkdownStyleGuide) 13 .use(remarkStringify) 14 .process(file) 15 16console.error(reporter(file))
On the CLI:
1remark --frail --use remark-preset-lint-markdown-style-guide .
On the CLI in a config file (here a package.json
):
1 … 2 "remarkConfig": { 3 "plugins": [ 4 … 5+ "remark-preset-lint-markdown-style-guide", 6 … 7 ] 8 } 9 …
This package exports no identifiers.
It exports no additional TypeScript types.
The default export is
remarkPresetLintMarkdownStyleGuide
.
unified().use(remarkPresetLintMarkdownStyleGuide)
Check that markdown follows “Markdown Style Guide”.
You can reconfigure rules in the preset by using them afterwards with different options.
Projects maintained by the unified collective are compatible with maintained versions of Node.js.
When we cut a new major release, we drop support for unmaintained versions of
Node.
This means we try to keep the current release line,
remark-preset-lint-markdown-style-guide@6
,
compatible with Node.js 16.
See contributing.md
in remarkjs/.github
for ways
to get started.
See support.md
for ways to get help.
This project has a code of conduct. By interacting with this repository, organization, or community you agree to abide by its terms.
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
0 existing vulnerabilities detected
Reason
security policy file detected
Details
Reason
0 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 2/30 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
branch protection not enabled on development/release branches
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More