- Fix Markdown lint version in SARIF output test #469
v0.13.0 (2023-10-01)
- MD055 - Tables: Each row must start and end with a
|
#464 - MD056 - Tables: Number of columns is the same for all rows #464
- MD057 - Tables: In the second row every column must have at least
---
, possibly surrounded with alignment:
chars #464
- MD009 - Allow exactly 2 trailing spaces by default #452
- MD033 - Add
allowed_elements
parameter #450 - Updated build instructions #431
- MD027 - handle anchor elements correctly #463
- Fix examples for RULES.md for MD007 #462
- Fix links to use https instead of http #447
- Make RULES.md comply with our own rules #439
- Fix docker builds #429
v0.12.0 (2022-10-17)
- MD047 - File should end with a blank line
- New 'docs' method on rules to provide a URL and longer description
docker_image
-based pre-commit
- Changed the default for MD007 to 3 spaces to match minimum spaces for ordered lists
- Added option
:ignore_code_blocks
to rule MD010. If set to true, hard tabs in code blocks will be ignored. - Added option
:ignore_code_blocks
to rule MD013. If set to true, hard tabs in code blocks will be ignored. The option:code_blocks
has been marked as deprecated in the documentation. If:code_blocks
is set to false in the configuration, a deprecation warning is printed. - Improved documentation on custom rules and rulesets
- Handle non-printable characters gracefully
- Support configurable sublist styles for MD004
- Fixed directory argument with
--git-recurse
- Preserve empty lines at the end of a file
v0.11.0 (2020-08-22)
- Fixed crash when using
-g
- Fixed missing dependencies in docker image
v0.10.0 (2020-08-08)
- More examples of mdlrc and style files
- Added CI for Rubocop and Markdownlint on our own repo
- Update Dockerfile to work with modern mdl
- Update minimum version of kramdown for security advisory
- Update minimum version of rubocop for security advisory
v0.9.0 (2020-02-21)
- Better error messages on missing styles #302
- Use require_relative to speed up requires #297
- Bumped alpine version in the Dockerfile #155
- Fix crash in --json #286
- Handle codeblocks that are nested #293
- Fix handling of blockquoted list items #284
v0.8.0 (2019-11-08)
- Don't ship test / example files in the gem artifact #282
- Handle newlines on Windows better #238
v0.7.0 (2019-10-24)
- Pull request and issue templates for users and contributors
- Move to kramdown 2
- Handle Kramdown TOC
- Loosen various dependencies and move minimum ruby version to 2.4
v0.6.0 (2019-10-19)
- There are now CONTRIBUTING.md and MAINTAINERS.md docs
- There is now a
.pre-commit-hooks.yaml
for those who want to use pre-commit.com
- Ignore blank line after front matter #248
- Only import JSON when necessary #231
- Use newere mixlib-cli #265
- Nicer error message when activating nonexistent rule #246
- Fix documentation on
ignore_front_matter
#241 - Update docs to use "MY" prefix for custom rule example #245
- Fix crash in MD039 when the link text is empty #256
- Reference Node.js markdownlint #229
- Added table of contents to RULES.md for easier navigation #232
- Fix typos in MD046 docs #219
- Fixed MD036 crash #222
v0.5.0 (2018-07-01)
- Add md042 to enforce code block style
- JSON formatter/output
- Allow different nesting on headers duplication check #200
- MD036 - Ignore multi-line emphasized paragraphs, and emphasized paragraphs that end in punctuation #140
v0.4.0 (2016-08-22)
- Allow top level header rules (MD002, MD025, MD041) to be configurable #142
- Read UTF-8 files correctly even if locale is set to C #135, #146, #147 and #148
- Fix issues loading .mdlrc file #126, #129, #133 and #148
- Fix erroneous triggering of MD022/MD023 in some cases #144
- Detect codeblock lines correctly when ignoring them #141
v0.3.1 (2016-03-20)
- Fix error on starting mdl
v0.3.0 (2016-03-19)
- MD041 - First line in file should be a top level header
- You can now load your own custom rules with the
-u
option. See rules.rb for an example of what a rules file looks like. Use the-d
option if you don't want to load markdownlint's default ruleset. - You can now refer to rules by human-readable/writable aliases, such as
'ul-style' instead of 'MD004'. See RULES.md for a list of the rule aliases.
You can pass the
-a
option to display rule aliases instead of MDxxx rule IDs.
- MD003 - An additional header style, setext_with_atx, was added to require setext style headers for levels 1 and 2, but allow atx style headers for levels 3 and above (i.e. header levels that can't be expressed with setext style headers)
- MD013 - You now have the option to exclude code blocks and tables from the line length limit check.
- Crash with MD034 and pipe character #93 and #97
- MD031 failed on nested code blocks #100 and #109
- MD037 crashes on
- with underscores #83
- Regression introduced in v0.2.1 - ignoring rules/tags on the command line caused a crash #108
- MD027 false positive when line starts with a backtick #105
- Add support for nested code fences to MD031/MD032 - David Anson
- Add missing word to description of MD035 in RULES.md - David Anson
- Probe for .mdlrc in current and parent directories - Loic Nageleisen
- MD013: allow excluding code blocks and tables - Loic Nageleisen
v0.2.1 (2015-04-13)
- Incorrect parsing of rules/tags specification in .mdlrc #81
- Exception on image links with MD039 #82
- MD037 flags on two words beginning with underscores on the same line #83
- Exception on some lines with raw html list items in them #83
v0.2.0 (2015-04-13)
- MD033 - Inline HTML
- MD034 - Bare URL used
- MD035 - Horizontal rule style
- MD036 - Emphasis used instead of a header
- MD037 - Spaces inside emphasis markers
- MD038 - Spaces inside code span elements
- MD039 - Spaces inside link text
- MD040 - Fenced code blocks should have a language specified
- Trailing spaces rule should allow an excemption for deliberate <br/> insertion.
- Rules can be excluded in .mdlrc and on the command line by specifying a rule as ~MD000.
v0.1.0 (2015-02-22)
- MD031 - Fenced code blocks should be surrounded by blank lines
- MD032 - Lists should be surrounded by blank lines
- MD014 triggers when it shouldn't
- MD032 - Lists should be surrounded by blank lines - David Anson
- MD031 - Fenced code blocks should be surrounded by blank lines - David Anson
- Clarify how to specify your own style - mjankowski
- Use single quotes to prevent early escaping - highb
v0.0.1 (2014-09-07)
- MD001 - Header levels should only increment by one level at a time
- MD002 - First header should be a h1 header
- MD003 - Header style
- MD004 - Unordered list style
- MD005 - Inconsistent indentation for list items at the same level
- MD006 - Consider starting bulleted lists at the beginning of the line
- MD007 - Unordered list indentation
- MD009 - Trailing spaces
- MD010 - Hard tabs
- MD011 - Reversed link syntax
- MD012 - Multiple consecutive blank lines
- MD013 - Line length
- MD014 - Dollar signs used before commands without showing output
- MD018 - No space after hash on atx style header
- MD019 - Multiple spaces after hash on atx style header
- MD020 - No space inside hashes on closed atx style header
- MD021 - Multiple spaces inside hashes on closed atx style header
- MD022 - Headers should be surrounded by blank lines
- MD023 - Headers must start at the beginning of the line
- MD024 - Multiple headers with the same content
- MD025 - Multiple top level headers in the same document
- MD026 - Trailing punctuation in header
- MD027 - Multiple spaces after blockquote symbol
- MD028 - Blank line inside blockquote
- MD029 - Ordered list item prefix
- MD030 - Spaces after list markers