Skip to content

Updates configuration for markdownlint to disable MD031 rule for list items #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 26, 2021

Conversation

froschdesign
Copy link
Member

Q A
Bugfix yes

Blank lines cannot be used for code blocks in lists, otherwise the lists will be discontinued.

Examples:

Reference:

MD031 - Fenced code blocks should be surrounded by blank lines

Set the list_items parameter to false to disable this rule for list items. Disabling this behavior for lists can be useful if it is necessary to create a tight list containing a code fence.

https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md031---fenced-code-blocks-should-be-surrounded-by-blank-lines

@weierophinney weierophinney added this to the 1.9.0 milestone May 26, 2021
@weierophinney weierophinney added the Bug Something isn't working label May 26, 2021
… items

Reference:

> Set the `list_items` parameter to `false` to disable this rule for list items. Disabling this behavior for lists can be useful if it is necessary to create a tight list containing a code fence.

https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#md031---fenced-code-blocks-should-be-surrounded-by-blank-lines
Signed-off-by: Frank Brückner <[email protected]>
@weierophinney weierophinney force-pushed the hotfix/markdownlint branch from 8e13402 to f2ace31 Compare May 26, 2021 20:19
@weierophinney weierophinney changed the base branch from 1.8.x to 1.9.x May 26, 2021 20:20
@weierophinney weierophinney merged commit abcee9e into laminas:1.9.x May 26, 2021
@froschdesign froschdesign deleted the hotfix/markdownlint branch May 26, 2021 20:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants