markdownlint/helpers
David Anson 758c92bfcc wip
2024-10-22 22:44:51 -07:00
..
.npmignore Enable custom rules to use the micromark parser, export micromark helpers for reuse. 2024-10-01 22:53:46 -07:00
helpers.js Refactor use of micromark so token stream is authentic by shimming undefined link reference handling, remove no-longer-necessary parse operation in MD034. 2024-10-21 20:56:22 -07:00
LICENSE Remove years from copyright statements. 2023-01-14 15:11:48 -08:00
micromark-helpers.cjs wip 2024-10-22 22:44:51 -07:00
micromark-parse.cjs wip 2024-10-22 22:44:51 -07:00
package.json Enable custom rules to use the micromark parser, export micromark helpers for reuse. 2024-10-01 22:53:46 -07:00
README.md Promote applyFix and applyFixes helpers into core library. 2024-10-06 17:24:44 -07:00
shared.js wip 2024-10-22 22:44:51 -07:00
test.cjs Enable custom rules to use the micromark parser, export micromark helpers for reuse. 2024-10-01 22:53:46 -07:00

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.