Commit graph

75 commits

Author SHA1 Message Date
David Anson
dd66a33d75 Update MD034/no-bare-urls to ignore "[link]" scenario that conflicts with MD011/no-reversed-links (fixes #268). 2020-04-01 20:21:36 -07:00
David Anson
de86a26e4e Update MD013/line-length to support stern parameter (fixes #256). 2020-03-22 14:06:29 -07:00
David Anson
742f2a8d79 Update MD029/ol-prefix to treat 0/1/2 as "ordered" (fixes #250). 2020-03-18 21:50:28 -07:00
David Anson
0f73f06232
Add note about blocks and list indentation to MD029/ol-prefix. 2020-03-05 11:41:59 -08:00
David Anson
a1249ad24d Add "Rationale" section to documentation for every rule (fixes #228). 2020-01-20 15:10:17 -08:00
David Anson
9ac06456d1 Update MD014/commands-show-output to allow blanks and output-less commands (fixes #241). 2020-01-18 21:28:42 -08:00
David Anson
d15324478c Deprecate MD006/ul-start-left in favor of MD007/ul-indent. 2020-01-13 19:19:49 -08:00
Jeremy Thomerson
9aeddedb7d Allow for first level indentation of lists in MD007/ul-indent (fixes #242). 2020-01-01 12:53:03 -08:00
David Anson
b39e5e309e Update MD013/line-length to include strict mode (fixes #237). 2019-12-12 21:22:45 -08:00
David Anson
6f3c67f760 Update MD009/no-trailing-spaces to include strict mode (fixes #216). 2019-12-09 22:05:57 -08:00
Marius Lichtblau
e9b3cc4c18 Add fenced code block style rule (#224) (fixes #223). 2019-10-24 20:26:27 -07:00
Marco Bonelli
1667de2d9d Rules: update MD032 removing deprecated paragraph (fixes #211). (#212)
"Lazy continuation" is allowed for list items according to the CommonMark
specification.
2019-08-06 11:42:16 -07:00
David Anson
c5b74d22b9 Update MD031/blanks-around-fences to include list_items parameter (fixes #200). 2019-08-02 22:58:41 -07:00
David Anson
91b4fcd55f Update MD026/no-trailing-punctuation to handle empty punctuation paramater, escape for RegExp (fixes #205). 2019-07-26 23:03:56 -07:00
Travis C. LaGrone
37236df18e Strike-through deprecated rule headings (fixes #203).
Changes:
- Formats the headings of deprecated rules using strikethrough in the 'Rules /
Aliases' section of the 'README.md' file and in the 'doc/Rules.md' file.
- Updates the 'readme' and 'doc' tests in the 'test/markdownlint-test.js' file
to permit their respective rule headings to be formatted using strikethrough.

Benefits:
- Indicates rule deprecation status 'at a glance'.

(fixes #203)
2019-07-08 19:10:08 +01:00
David Anson
64351f73be Update MD013/line-length with new code_block_line_length parameter (fixes #184). 2019-06-07 19:57:15 -07:00
David Anson
1d8b9e7e62 Add full-width punctuation characters to MD026/no-trailing-punctuation and MD036/no-emphasis-as-heading (fixes #192). 2019-06-06 22:21:31 -07:00
KitoW
a977d0dcbc Add MD047/single-trailing-newline for enforcing new lines at the end of file (fixes #89). 2019-04-19 20:13:07 -07:00
David Anson
0af999e218 Implement rule MD046/code-block-style from Ruby version. 2019-04-17 14:42:17 -07:00
David Anson
d7c0d195d7 Update MD013/line-length with heading_line_length parameter (fixes #170). 2019-03-26 22:34:19 -07:00
David Anson
fa04d29485 Enhance MD022/blanks-around-headings with lines_above/lines_below parameters (fixes #143). 2019-03-24 21:50:56 -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
0184f9d618 Deprecate MD002/first-heading-h1 in favor of MD041/first-line-h1 (refs #169). 2019-03-12 22:23:12 -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
ed295cd947 Add style "zero" to MD029/ol-prefix (fixes #140). 2019-03-06 21:57:19 -08:00
David Anson
90bd0810e7 Update copyright year to 2019, all HTTP links to HTTPS. 2019-02-10 11:38:01 -08:00
David Anson
d76ede1c4f Update MD024/no-duplicate-heading to allow non-sibling duplicates (fixes #136). 2018-07-19 21:49:30 -07:00
David Anson
4a1e42d942 Allow '0'- and ' '-prefixed ordered list markers in MD005/MD029 (fixes #126). 2018-06-15 22:37:12 -07:00
David Anson
3e1317709a Update MD009/no-trailing-spaces default configuration to allow 2 spaces for hard break (fixes #114). 2018-04-30 21:34:19 -07:00
David Anson
c7c4c032d1 Code review feedback for "header"->"heading" change. 2018-04-18 22:28:14 -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
c9571607dc Convert to code fences in Rules.md and tag all as "markdown". 2018-03-09 22:50:01 -08:00
David Anson
942cc9af08 Use "markdown" for syntax highlighting on GitHub ("md" not recognized). 2018-03-03 22:22:02 -08:00
David Anson
f91f0880c3 Refine implementation of MD045/no-alt-text in previous commit. 2018-01-06 18:06:32 -08:00
Duncan Mackenzie
4fa837a031 Add MD045/no-alt-text (fixes #75). 2018-01-06 15:55:59 -08:00
David Anson
39d39db961 Add style one_or_ordered to MD029/ol-prefix (fixes #97). 2017-12-12 22:41:11 -08:00
Henrik Enggaard
3834cc4c9c Misspelling in MD003 2017-09-06 09:35:37 +02:00
David Anson
d826833a82 Allow opt-out for list items with blank lines in MD009/no-trailing-spaces (fixes #55). 2017-05-11 21:44:41 -07:00
David Anson
b436640918 Add short links to each rule in Rules.md, update README.md to use them (fixes #54). 2017-05-07 12:48:04 -07:00
David Anson
942f0600d2 Support front matter title property override for MD041/first-line-h1 (fixes #53). 2017-05-06 15:25:14 -07:00
David Anson
31c252a55c Add code_blocks parameter to MD044/proper-names (fixes #50). 2017-03-18 19:47:26 -07:00
David Anson
f30452619c Merge branch 'next' 2017-03-03 23:03:16 -08:00
David Anson
acd36d5802 Update MD041/first-line-h1 to ignore leading HTML comments (fixes #37). 2017-02-23 22:08:54 -08:00
David Anson
31206f9387 Reimplement MD038/no-space-in-code to handle multi-backtick strings (fixes #46). 2017-02-18 22:56:06 -08:00
David Anson
00171da565 Add headers parameter to MD013/line-length (fixes #35). 2017-02-11 16:20:24 -08:00
Jan Aagaard
bba5cfd063 Use double quotes in JSON example 2017-01-29 09:50:53 +01:00
David Anson
d8975282dc Add MD044 proper-names "Proper names should have the correct capitalization" (fixes #39). 2016-12-22 13:40:31 -08:00
David Anson
affd94e061 Add maximum parameter to MD012/no-multiple-blanks (fixes #27). 2016-10-03 21:42:44 -07:00
David Anson
a2df7742c6 Add code_blocks parameter to MD010 to ignore hard tabs in code blocks (fixes #31). 2016-09-29 21:25:10 -07:00