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
|
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
|
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
|
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
|
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 |
|
David Anson
|
5eef37751b
|
Update MD022/blanks-around-headings to include blockquote prefix if fixing inside a blockquote (fixes #654).
|
2022-12-07 21:16:36 -08:00 |
|
David Anson
|
2146bbae5f
|
Update MD033/no-inline-html to ignore HTML in labels for reference links/images (fixes #658).
|
2022-12-06 22:57:45 -08:00 |
|
David Anson
|
cba5e8d340
|
Update MD034/no-bare-urls to better handle multiple similar issues on the same line (fixes https://github.com/igorshubovych/markdownlint-cli/issues/339).
|
2022-12-06 22:14:40 -08:00 |
|
David Anson
|
f84c91d95f
|
Update MD034/no-bare-urls to allow bare URLs inside the link text of HTML A tags (fixes 615).
|
2022-11-13 21:39:14 -08:00 |
|
Sébastien Règne
|
72439f42c6
|
Update MD040/fenced-code-language to add language_only parameter to reject extra data in info string.
|
2022-11-10 22:07:04 -08:00 |
|
David Anson
|
99a3f164a9
|
Update MD013/line-length to permit long link/image reference definitions in all modes because they can not be easily split.
|
2022-11-08 21:40:33 -08:00 |
|
Sébastien Règne
|
b73ab7fd91
|
Update MD040/fenced-code-language to use case-sensitive comparison for allowed languages (fixes #627).
|
2022-11-05 17:41:27 -07:00 |
|
David Anson
|
13b4340747
|
Update all links to rules to use md000.md instead of Rules.md#md000 (shorter, quicker, less distraction).
|
2022-10-30 14:58:45 -07:00 |
|
Mateus Ferreira
|
37f74ee958
|
Update MD043/required-headings to add match_case parameter (fixes #613).
|
2022-10-22 00:15:50 -07:00 |
|
David Anson
|
592a42b0cb
|
Update MD053/link-image-reference-definitions to handle references within references (i.e., Pandoc-style footnotes), verify Pandoc footnote indent is not treated as comment when markdown-it-footnote plugin is used (fixes #599).
|
2022-10-19 21:18:56 -07:00 |
|
Sam Chen
|
01ba757d3a
|
Update MD040/fenced-code-language to add allowed_languages parameter (fixes #610).
|
2022-10-17 12:29:29 -07:00 |
|
David Anson
|
c333976a44
|
Update MD011/no-reversed-links to avoid more nested paren scenarios (fixes #572).
|
2022-10-16 22:16:51 -07:00 |
|
David Anson
|
56f379b0fc
|
Remove legacy exclusion from scenario tests for files with no errors (previously "detailed-" files).
|
2022-10-15 16:06:20 -07:00 |
|
David Anson
|
f0bb4c639b
|
Change HTML comment content sanitization to avoid breaking list item indent, respect table cell content rules (fixes #563).
|
2022-10-14 20:59:56 -07:00 |
|
David Anson
|
6974cd6012
|
Fix helpers.referenceLinkRe to handle full and shortcut reference image links inside normal links (fixes #571).
|
2022-08-31 22:46:19 -07:00 |
|