Skip to content

Docs: require languages in code blocks

Amy Qualls requested to merge docs-aqualls-markdown-MD040 into master

This MR enables rule MD040 in .markdownlint.json, which requires all code blocks to declare a language.

It also includes fixes to the various files in the repo that had code blocks without language declarations.

Related to gitlab-org/gitlab#32881 (closed) where this work was completed in the gitlab repo first.

Merge request reports