Commit graph

15 commits

Author SHA1 Message Date
Fu Yuchen
6c8d0fdef8
Update MD018/no-missing-space-atx and MD020/no-missing-space-closed-atx to ignore the content of HTML blocks (fixes #1268). 2024-07-20 14:38:45 +09:00
David Anson
26466108e9 Add new rule MD058/blanks-around-tables (fixes #132). 2024-06-03 21:16:45 -07:00
David Anson
d5994ae4de Add Rule.parser property for custom rules to specify which Markdown parser output they use, honor it strictly, and add full type support. 2024-03-13 20:55:57 -07:00
David Anson
12c4f79604 Add parsers object to RuleParams type, annotate every rule definition with Rule type for better type validation. 2024-02-27 20:42:09 -08:00
David Anson
a9a77940c5 Remove rule aliases for "header" (deprecated in v0.9.0). 2023-11-09 20:05:30 -08:00
David Anson
5aef3a4a51 Update MD018/MD019/MD020/MD021 to look specifically for "space" characters (space or tab) instead of RegExp's "\s" characters per CommonMark specification (fixes #367). 2021-02-03 22:05:07 -08:00
David Anson
84b6d935f5 Fix issue in MD020/no-missing-space-closed-atx that reported errors for single-character headers (fixes #229). 2019-10-24 20:18:16 -07:00
David Anson
33e3797084 Fix broken MD020/MD021/MD038 scenarios. 2019-09-19 21:39:59 -07:00
David Anson
316bfeadaa Update MD018/MD019/MD020/MD021 to report fixInfo for violations. 2019-09-08 16:51:00 -07:00
David Anson
7e980401b8 Expose shared.js helper code for custom rule authors (fixes #134). 2019-04-13 11:18:57 -07:00
David Anson
f614f3e1ce Remove state from shared.js, move to cache.js. 2019-04-10 21:26:59 -07:00
David Anson
213aef4564 Convert var to const/let (except in browser-only code). 2018-04-27 22:05:34 -07:00
Milos Levacic
45424cf459 Change "header" to "heading" across the library
This should be backward compatible, as all "header" aliases are still
available, though documented as discouraged for future use.
2018-04-18 22:27:48 -07:00
David Anson
748c8cac17 Remove unnecessary params parameter to shared.flattenLists/forEachLine. 2018-03-04 23:06:31 -08:00
David Anson
9ba143555d Move each rule implementation into its own file (fixes #83). 2018-01-21 21:44:25 -08:00