Ruben J. Jongejan
ccd26cef7f
fix(md012): do not flag blank lines adjacent to headings ( fixes #990 ).
...
Blank lines immediately above or below a heading are now excluded from
MD012's consecutive-blank-line count. Those blank lines are governed by
MD022 (blanks-around-headings), so MD012 defers to it. This means users
can set MD022's lines_above/lines_below > 1 without triggering spurious
MD012 violations.
2026-02-21 13:15:56 +01:00
David Anson
f6c5369ef4
Update MD060/table-column-style to add aligned_delimiter parameter ( fixes #1854 ).
2025-11-30 16:39:56 -08:00
David Anson
9b116ae889
Update MD060/table-column-style to account for emoji and CJK characters rendering at 2x Latin width ( fixes #1869 ).
2025-11-25 14:15:50 -08:00
David Anson
846475f203
Update documentation for MD051/link-fragments to mention encodeURIComponent (refs #1858 ).
2025-11-16 15:36:12 -08:00
David Anson
d3425de847
Update some documentation links to (continue to) point to correct page locations.
2025-10-30 20:05:41 -07:00
David Anson
4a1f32d874
Address new lint issues from previous commit.
Checkers / linkcheck (push) Waiting to run
Checkers / spellcheck (push) Waiting to run
CI / build (20, macos-latest) (push) Waiting to run
CI / build (20, ubuntu-latest) (push) Waiting to run
CI / build (20, windows-latest) (push) Waiting to run
CI / build (22, macos-latest) (push) Waiting to run
CI / build (22, ubuntu-latest) (push) Waiting to run
CI / build (22, windows-latest) (push) Waiting to run
CI / build (24, macos-latest) (push) Waiting to run
CI / build (24, ubuntu-latest) (push) Waiting to run
CI / build (24, windows-latest) (push) Waiting to run
CI / pnpm (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
TestRepos / build (latest, ubuntu-latest) (push) Waiting to run
UpdateTestRepos / update (push) Waiting to run
2025-10-28 22:16:19 -07:00
David Anson
a55d5499e2
Update MD009/no-trailing-spaces with code_blocks parameter to allow reporting/fixing trailing spaces in indented/fenced code blocks ( fixes #1181 ).
Checkers / linkcheck (push) Waiting to run
Checkers / spellcheck (push) Waiting to run
CI / build (20, macos-latest) (push) Waiting to run
CI / build (20, ubuntu-latest) (push) Waiting to run
CI / build (20, windows-latest) (push) Waiting to run
CI / build (22, macos-latest) (push) Waiting to run
CI / build (22, ubuntu-latest) (push) Waiting to run
CI / build (22, windows-latest) (push) Waiting to run
CI / build (24, macos-latest) (push) Waiting to run
CI / build (24, ubuntu-latest) (push) Waiting to run
CI / build (24, windows-latest) (push) Waiting to run
CI / pnpm (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
TestRepos / build (latest, ubuntu-latest) (push) Waiting to run
UpdateTestRepos / update (push) Waiting to run
2025-10-11 17:28:04 -07:00
David Anson
607be34b5d
Add "enabled" and "severity"/"warning" to rule in Configuration object, add corresponding documentation and tests, update demo web app ( fixes #254 )”.
2025-09-26 22:50:57 -07:00
David Anson
c6f248321e
Add "severity"/"error" to rule in Configuration object, add corresponding documentation, resolve some new type-checking issues.
2025-09-26 22:50:57 -07:00
David Anson
c4b5d1f937
Refactor configuration schema to use oneOf instead of type:Array for better extensibility.
2025-09-26 22:50:57 -07:00
David Anson
2a06f0a871
Address new code analysis issues from previous commit.
2025-09-08 21:09:22 -07:00
David Anson
3532e3110a
Add rule MD060/table-column-style ( fixes #90 , fixes #323 ).
2025-08-20 22:14:52 -07:00
Alexandre Feblot
1b6839bff0
Update MD001/heading-increment to support front matter title as the first heading of the page.
2025-06-06 19:54:23 -07:00
David Anson
32d650250a
Update MD033/no-inline-html documentation to address a minor issue in the previous commit.
2025-05-31 13:31:48 -07:00
Alexandre Feblot
1ac0b22804
MD033/no-inline-html: Add table_allowed_elements parameter.
2025-05-31 13:27:30 -07:00
David Anson
6b4e865d64
Update MD010/no-hard-tabs documentation to link to context about possible issues with tab characters.
2025-05-31 12:41:17 -07:00
Jakob Guddas
9c12debac0
Update MD059/descriptive-link-text documentation to add link to WCAG success criterion.
2025-05-26 22:35:57 +00:00
David Anson
328506e6c8
Update MD052/reference-links-images to add ignored_labels parameter and default to ignoring GFM task list items ( fixes #1524 ).
2025-04-27 22:36:07 -07:00
David Anson
b611eba684
Update MD045/no-alt-text to allow violations when an HTML IMG has aria-hidden set to true ( fixes #1576 ).
2025-04-27 18:42:36 -07:00
David Anson
02478d24cf
Update MD051/link-fragments to add the ignored_pattern configuration parameter ( fixes #547 ).
2025-04-05 22:35:07 -07:00
David Anson
62dc79864d
Update MD041/first-line-heading to add an allow_preamble parameter ( fixes #1416 ).
2025-03-22 16:16:10 -07:00
David Anson
50300fa7af
Update MD051/link-fragments to allow HTML's implicit "#top" fragment ( fixes #1488 ).
2025-03-15 16:30:32 -07:00
David Anson
5749c8dcf7
Update MD043/required-headings to support "?" meaning "exactly one unspecified heading" ( fixes #475 ).
2025-03-10 21:57:39 -07:00
David Anson
435c55f72a
Update MD027/no-multiple-space-blockquote to add a list_items parameter ( fixes #1473 ).
2025-03-03 23:22:37 -08:00
David Anson
241fe5b51c
Address violation of new lint rule unicorn/no-named-default.
2025-02-17 20:05:27 -08:00
David Anson
571c2353ea
Update new rule MD059/descriptive-link-text for project-level consistency.
2025-02-13 22:11:42 -08:00
Kate Higa
b8374ec5d2
Add rule MD059/descriptive-link-text "Link text should be descriptive" ( fixes #681 ).
2025-02-13 22:11:42 -08:00
David Anson
b23fc96ab2
Refactor MD038/no-space-in-code to produce smaller/simpler edits and address an additional scenario.
2025-02-07 20:03:30 -08:00
David Anson
90cf515ff0
Update MD038/no-space-in-code to allow code spans with only spaces ( fixes #1481 ).
2025-02-02 21:36:35 -08:00
David Anson
1e71f6f44e
Convert markdownlint library to an ECMAScript module, replace markdownlint-micromark with micromark, stop publishing (large) markdownlint-browser.js, see https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c for guidance.
2024-11-29 18:29:21 -08:00
David Anson
04c693b00b
Update MD051/link-fragments to add ignore_case parameter and improve documentation ( fixes #1274 ).
2024-10-08 22:40:25 -07:00
David Anson
5faa6f4235
Update rule documentation to explain how consistent is implemented ( fixes #1346 ).
2024-10-07 22:08:16 -07:00
David Anson
4fd1b05021
Update documentation for MD044/proper-names to show how to handle differing capitalization ( closes #1288 ).
2024-07-12 08:20:30 +00:00
David Anson
26466108e9
Add new rule MD058/blanks-around-tables ( fixes #132 ).
2024-06-03 21:16:45 -07:00
David Anson
90b572f292
Update documentation for MD034/no-bare-urls to recommend percent-encoding ( closes #1212 ).
2024-05-19 22:34:17 -07:00
David Anson
c83afe1cfd
Update documentation for MD013/line-length to call out a missing scenario and be more explicit about strict/stern behavior (refs #1154 ).
2024-03-19 21:46:34 -07:00
David Anson
64b9032b51
Update MD049/emphasis-style and MD050/strong-style to properly detect violations at the beginning and end of a line ( fixes #1132 ).
2024-02-19 15:41:10 -08:00
David Anson
45c8766eda
Refine previous commit for MD051/link-fragments to tweak behavior, tests, and documentation.
2024-02-10 15:41:55 -08:00
Théo LUDWIG
242b35f98f
Update MD051/link-fragments to support GitHub-style line/column range syntax in URLs (refs #1117 ).
2024-02-10 15:41:55 -08:00
David Anson
30d62f19ac
Add rule MD056/table-column-count ( fixes #92 ).
2024-01-06 20:06:47 -08:00
David Anson
7d2248d211
Update MD055/table-pipe-style to support "consistent" and other styles, use micromark positioning, report ranges, add more tests.
2023-12-30 18:15:38 -08:00
Gabriel Kuznik
a563c082a5
Add rule MD055/table-missing-border ( fixes #93 , refs #1039 , no generated files).
2023-12-29 17:29:06 -08:00
David Anson
f2725178b1
Update MD024/no-duplicate-heading to remove duplicate parameter allow_different_nesting which confuses people.
2023-12-05 19:23:17 -08:00
David Anson
b709a2f624
Update MD054/link-image-style to add url_inline parameter ( fixes #753 ).
2023-11-12 22:46:30 -08:00
David Anson
063310e51a
Update MD054/link-image-style to split reference parameter into full/collapsed/shortcut parameters ( fixes #918 ).
2023-11-11 22:12:50 -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
20a552b4b7
Remove MD002 (deprecated in v0.13.0) and MD006 (deprecated in v0.19.0).
2023-11-09 19:47:24 -08:00
David Anson
10f095c4fd
Refactor new MD054/link-image-style rule, add tests, update documentation ( fixes #40 , fixes #399 ).
2023-11-02 19:48:55 -07:00
Tommy G
460836445c
Add new MD054/link-image-style rule (in-progress PR, no generated files).
2023-11-02 19:48:55 -07:00
David Anson
5950e4481a
Update documentation for MD023/heading-start-left to include "indented" example within block quote ( fixes #1009 ).
2023-10-23 20:37:38 -07:00