Commit graph

10 commits

Author SHA1 Message Date
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
7e980401b8 Expose shared.js helper code for custom rule authors (fixes #134). 2019-04-13 11:18:57 -07:00
David Anson
f614f3e1ce Remove state from shared.js, move to cache.js. 2019-04-10 21:26:59 -07:00
David Anson
9b9532e163 Add includesSorted function, use for faster searches of sorted arrays. 2019-03-28 22:06:42 -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
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
748c8cac17 Remove unnecessary params parameter to shared.flattenLists/forEachLine. 2018-03-04 23:06:31 -08:00
David Anson
9ba143555d Move each rule implementation into its own file (fixes #83). 2018-01-21 21:44:25 -08:00