![]()
Some checks are pending
Checkers / linkcheck (push) Waiting to run
Checkers / spellcheck (push) Waiting to run
CI / build (20, macos-latest) (push) Waiting to run
CI / build (20, ubuntu-latest) (push) Waiting to run
CI / build (20, windows-latest) (push) Waiting to run
CI / build (22, macos-latest) (push) Waiting to run
CI / build (22, ubuntu-latest) (push) Waiting to run
CI / build (22, windows-latest) (push) Waiting to run
CI / build (24, macos-latest) (push) Waiting to run
CI / build (24, ubuntu-latest) (push) Waiting to run
CI / build (24, windows-latest) (push) Waiting to run
CI / pnpm (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
TestRepos / build (latest, ubuntu-latest) (push) Waiting to run
UpdateTestRepos / update (push) Waiting to run
|
||
---|---|---|
.. | ||
.npmignore | ||
helpers.cjs | ||
LICENSE | ||
micromark-helpers.cjs | ||
package.json | ||
README.md | ||
shared.cjs | ||
test.cjs |
markdownlint-rule-helpers
A collection of
markdownlint
helper functions for custom rules
Overview
The Markdown linter markdownlint
offers a variety
of built-in validation rules and supports the creation of custom
rules. The internal rules share various helper functions; this
package exposes those for reuse by custom rules.
API
Undocumented - This package exports the internal functions as-is. The APIs were not originally meant to be public, are not officially supported, and may change from release to release. There are brief descriptive comments above each function, but no JSDoc annotations. That said, some of what's here will be useful to custom rule authors and may avoid duplicating code.
Tests
None - The entire body of code is tested to 100% coverage by the core
markdownlint
project, so there are no additional tests here.