A remark-lint rule that warns when paired punctuation marks (e.g., parentheses, quotation marks, brackets) are not properly matched. Version 0.2.1 is the latest release, with no frequent updates. It focuses on non-ASCII pairs like Chinese quotation marks and angle quotes. Unlike general remark-lint rules, this plugin specifically targets punctuation mismatches that are not covered by standard linting.
npm install remark-lint-match-punctuationNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates using the plugin with remark programmatically to lint a markdown file for punctuation pair mismatches.
Pass custom pairs as an array of two-character strings to the plugin.
Review changelog for any future updates.
Use a custom markdown node walker to skip these cases, or combine with other remark plugins.
Run `npm install remark-lint-match-punctuation`
Ensure the config has "remark-lint-match-punctuation": true and that remark-lint is also used.
Pass options as an array of strings where each string is exactly two characters (left and right pair).