David Anson
|
6eca6f1c3d
|
Allow HTML comments containing "--" even though it is not allowed by the CommonMark specification because it is allowed by the HTML specification and it happens in real life (fixes #996).
|
2023-10-07 20:18:43 -07:00 |
|
David Anson
|
941769f204
|
Update MD051/link-fragments to handle backslash-escaping in heading text (fixes #984).
|
2023-09-18 22:20:44 -07:00 |
|
David Anson
|
8cf50f01b7
|
Update snapshot for https://github.com/mdn/content repository to reflect recent changes.
|
2023-09-17 21:24:22 -07:00 |
|
David Anson
|
c59071734b
|
Update snapshot for https://github.com/mdn/content repository to reflect recent changes.
|
2023-09-16 03:32:32 +00:00 |
|
David Anson
|
daec896b8d
|
Update MD034/no-bare-urls to scan all tokens when pruning HTML content so open/close pairs with different parents are handled (fixes #966).
|
2023-09-13 22:44:24 -07:00 |
|
David Anson
|
ba260b9b1e
|
Update MD051/link-fragments to handle backslash-escaped content in link and definition destinations (fixes #956).
|
2023-09-06 21:25:00 -07:00 |
|
David Anson
|
1ddee6b195
|
Update MD051/link-fragments to also look for a fragment matching the URI-encoded link definition (implicit behavior in previous version via markdown-it) (fixes #954, fixes #955).
|
2023-09-06 20:50:56 -07:00 |
|
David Anson
|
c118c1160a
|
Update MD052/reference-links-images to add a shortcut_syntax parameter for opting into shortcut scanning (fixes #915).
|
2023-09-04 16:40:48 -07:00 |
|
David Anson
|
a736588958
|
Update MD051/link-fragments to handle links and images in headings (fixes #945).
|
2023-09-04 12:26:38 -07:00 |
|
David Anson
|
24c97a54fb
|
Refactor micromark token handling to remove optional Token.htmlFlowChildren property and make related code more efficient for a ~6% elapsed time reduction.
|
2023-09-02 19:32:25 -07:00 |
|
David Anson
|
bc0fd1b465
|
Update snapshot for https://github.com/dotnet/docs repository to reflect recent changes.
|
2023-08-22 21:46:38 -07:00 |
|
David Anson
|
d9de1dd22f
|
Update MD022/blanks-around-headings to allow specifying a different number of blank lines for each heading level (fixes #504).
|
2023-08-08 22:56:59 -07:00 |
|
David Anson
|
809841098d
|
Update MD022/blanks-around-headings to allow passing -1 for lines_above/lines_below to allow any number of blank lines in that direction (fixes #546).
|
2023-08-06 15:24:35 -07:00 |
|
David Anson
|
1eb40d3c4c
|
Update MD051/link-fragments to not provide error context for multi-line scenarios.
|
2023-08-04 21:23:43 -07:00 |
|
David Anson
|
ef1bd286a9
|
Reimplement MD051/link-fragments using micromark tokens, report reference link issues for definition and fix when possible, handle reporting multiple violations on the same line better.
|
2023-08-04 20:53:38 -07:00 |
|
David Anson
|
e8cc7eb3cb
|
Reimplement MD045/no-alt-text using micromark tokens, add range information.
|
2023-07-28 20:19:30 -07:00 |
|
Tommy G
|
07b851b3c7
|
Always refer to rules by name (not number) in test configuration.
|
2023-07-27 21:33:03 -07:00 |
|
David Anson
|
73b9704159
|
Reimplement MD037/no-space-in-emphasis using micromark tokens, report start/end separately for smaller edit spans, remove markdown-it-texmath (fixes #533, fixes #597).
|
2023-07-24 21:36:55 -07:00 |
|
David Anson
|
e86fb7699d
|
Refactor to move reparse of micromark htmlFlow token content into core micromarkParse implementation for simplicity and sharing.
|
2023-07-21 22:49:08 -07:00 |
|
David Anson
|
9646590496
|
Reimplement MD032/blanks-around-lists using micromark tokens, add newly-detected violations to test snapshot.
|
2023-07-18 22:33:57 -07:00 |
|
David Anson
|
7a794192ca
|
Add support for named heading fragments as supported by some platforms (fixes #830).
|
2023-07-08 22:14:00 -07:00 |
|
David Anson
|
c06506c317
|
Reimplement MD026/no-trailing-punctuation using micromark tokens, ignore trailing GitHub emoji codes, improve tests (fixes #457).
|
2023-06-24 15:47:06 -07:00 |
|
David Anson
|
f5a2df1e86
|
Update test repository linting tests to use snapshots instead of RegExp exclusions, remove https://github.com/mdn/translated-content test repository due to overlap with https://github.com/mdn/content.
|
2023-06-01 21:21:52 -07:00 |
|
David Anson
|
22dc6cae84
|
Update micromark code and tests for prior commit updating markdownlint-micromark (including micromark to 3.2.0).
|
2023-05-31 21:02:44 -07:00 |
|
David Anson
|
b1eff75034
|
Update MD044/proper-names to parse into micromark htmlFlow tokens for better behavior when html_elements is false (fixes #832).
|
2023-05-31 20:25:56 -07:00 |
|
David Anson
|
8471914a1d
|
Update MD037/no-space-in-emphasis to handle multiple embedded underscores separated by a single character (fixes #804).
|
2023-05-27 11:05:17 -07:00 |
|
David Anson
|
dc4acff067
|
Update MD044/proper-names to ignore the content of HTML comments when its html_elements parameter is false (fixes #832).
|
2023-05-26 20:58:59 -07:00 |
|
David Anson
|
0006636f75
|
Update MD049/emphasis-style and MD050/strong-style to not report intraword asterisks/underscores as violations because exchanging either alters meaning (fixes #789).
|
2023-05-26 04:47:14 +00:00 |
|
David Anson
|
7005a8a438
|
Reimplement MD049/emphasis-style, MD050/strong-style to use micromark parser (with smaller ranges and handling of multi-line fixes).
|
2023-05-26 03:50:00 +00:00 |
|
David Anson
|
488813f7f7
|
Update MD034/no-bare-urls to re-scan documents with potential violations using proper reference definition handling to avoid false positives (fixes #787).
|
2023-05-23 04:01:55 +00:00 |
|
David Anson
|
99ef8f8e7e
|
Update test snapshots for new tokenization from markdownlint-micromark/micromark-extension-gfm-table.
|
2023-05-13 15:45:54 -07:00 |
|
David Anson
|
0ebcf248ca
|
Simplify test directory by moving all JSON configuration for scenario tests into the Markdown file via markdownlint-configure-file.
|
2023-03-15 21:26:22 -07:00 |
|
David Anson
|
5bff33d41b
|
Reimplement MD044/proper-names using micromark tokens.
|
2023-03-14 21:03:07 -07:00 |
|
David Anson
|
20e571ba65
|
Add simple (GFM) table markup to "Every Markdown Syntax" test file.
|
2023-03-11 13:50:41 -08:00 |
|
David Anson
|
8057f3d37e
|
Reimplement MD035/hr-style using micromark tokens (fixes #736).
|
2023-03-06 21:39:21 -08:00 |
|
David Anson
|
81f35edd6c
|
Update tests to verify long lines inside HTML comments trigger MD013/line-length (closes #703).
|
2023-02-27 18:35:52 -08:00 |
|
David Anson
|
13ced64c21
|
Rename markdownlint-micromark Token's .tokens property to .children for consistency and clarity.
|
2023-02-25 15:50:58 -08:00 |
|
David Anson
|
962547ecc8
|
Reimplement MD038/no-space-in-code using micromark tokens.
|
2023-02-25 15:50:58 -08:00 |
|
David Anson
|
ddb71ed1e8
|
Update tests and documentation for MD034/no-bare-urls to explain edge case behavior.
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
b990b3ea77
|
Reimplement MD034/no-bare-urls using micromark tokens (fixes #707).
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
545e571ca5
|
Update test snapshots for previous two test case updates (stored in "bugs" branch).
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
97f99befb8
|
Reimplement getReferenceLinkImageData using micromark tokens.
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
57c612cfa4
|
Fix invalid link definition syntax in break-all-the-rules.md.
|
2023-02-25 15:50:57 -08:00 |
|
David Anson
|
c53df8b720
|
Fix range calculation in MD033/no-inline-html during re-parse of tabbed content.
|
2023-02-25 15:50:56 -08:00 |
|
David Anson
|
366a498150
|
Initial implementation of markdownlint-micromark package, micromark.mjs helpers, and tests.
|
2023-02-25 15:49:51 -08:00 |
|
David Anson
|
691b7afc52
|
Add test case to verify MD052 range parameter to onError is valid and that commit 6974cd6012 fixes #686.
|
2022-12-22 02:45:41 +00:00 |
|
David Anson
|
ac8f495ea2
|
Update MD051/link-fragments to identify and fix scenarios where the link fragment has the wrong case (fixes #605).
|
2022-12-16 13:50:38 -08:00 |
|
David Anson
|
d352d4ece1
|
Update MD034/no-bare-urls to handle more scenarios, simplify slightly, replace blanket MD034 suppression for https://github.com/mdn/content with specific (valid) issues (refs #607).
|
2022-12-15 14:27:07 -08:00 |
|
David Anson
|
e42da81293
|
Tweak test case heading for consistency.
|
2022-12-14 22:40:57 -08:00 |
|
David Anson
|
cb16438a41
|
Add various Markdown lists as formatted by Prettier with the default --tab-width of 2 and the not uncommon alternate of 4, update Prettier.md with the relevant configuration (produced using v2.8.1 of https://prettier.io/playground/) (refs #652).
|
2022-12-13 20:24:21 -08:00 |
|