David Anson
|
33631a5984
|
Split micromark.cjs into separate -parse and -helpers files.
|
2024-09-28 16:26:38 -07:00 |
|
David Anson
|
164bbac651
|
Add @stylistic/eslint-plugin to ESLint configuration.
|
2024-09-01 16:16:05 -07:00 |
|
David Anson
|
12502f6571
|
Exclude htmlFlow content by default for filterByTypes, opt in as needed.
|
2024-06-09 17:09:03 -07:00 |
|
David Anson
|
a83e2d8a09
|
Reimplement MD041/first-line-heading/first-line-h1 using micromark tokens.
|
2024-03-18 20:48:32 -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
|
4b27bac79b
|
Update all references to "params.tokens" to "params.parsers.markdownit.tokens" for clarity.
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
1d042aa3fd
|
Update MD041/first-line-heading to recognize HTML headings (fixes #366).
|
2021-01-31 15:51:57 -08:00 |
|
Yash Singh
|
2a198a5ee4
|
Fix grammar issues in Rules.md.
|
2020-12-30 16:42:34 -08:00 |
|
David Anson
|
3238ed4249
|
Update all rules to better handle wrongly-typed configuration parameters.
|
2020-01-25 18:40:39 -08: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
|
61d6311a3e
|
Add front_matter_title parameter to MD025/single-title/single-h1 (refs #169).
|
2019-03-16 20:21:57 -07:00 |
|
David Anson
|
050cbbba82
|
Add name first-line-heading to MD041 for clarity (refs #169).
|
2019-03-13 21:39:15 -07:00 |
|
David Anson
|
c71bb4fbd5
|
Update MD041/first-line-h1 to allow secondary headings if a YAML title is present (refs #116).
|
2019-03-10 22:10:33 -07:00 |
|
David Anson
|
072da48add
|
Relax MD041/first-line-h1 to allow blank links above the top level header (fixes #116).
|
2018-04-29 12:02:47 -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
|
9ba143555d
|
Move each rule implementation into its own file (fixes #83).
|
2018-01-21 21:44:25 -08:00 |
|