Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.

Markdown linting: Fenced code blocks should have a language specified (MD040) #5252

Closed
@dshevtsov

Description

Bug report

Description

The Markdown linter reports about 1421 issues when the rule 'MD040' is enabled.

Steps to reproduce

  1. In the _checks/styles/style-rules-prod change exclude_rule 'MD040' to rule 'MD040'.
  2. In your terminal, run rake test:md.

Test your updates

  1. Follow "Steps to reproduce" locally to get list of errors to fix.
  2. Preview the HTML locally to ensure your changes did not break formatting in the resulting HTML (run rake:preview). For more information, refer to the README.

Note-->Do NOT use special keywords in your commit message.

Expected result

All the reported issues are fixed.
The rake test:md command returns No issues found.

Metadata

Assignees

Labels

EditorialTypo and grammar fixes or minor rewrites to correct inaccuracies

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions