Skip to content

Commit

Permalink
Ignores markdownlint's error about code block style
Browse files Browse the repository at this point in the history
Currently markdownlint (which runs in our CI/CD) refuses non-indented code blocks,
but material mkdocs requires code blocks to not be indented.

As such, we will ignore this lint rule.
  • Loading branch information
arielf212 committed Nov 26, 2024
1 parent c3c6845 commit a55f490
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:

- uses: DavidAnson/markdownlint-cli2-action@v18
with:
config: .markdownlint.json
globs: '**/*.md'

- name: Install latest stable
Expand Down
5 changes: 5 additions & 0 deletions .markdownlint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"code-block-style": {
"style": "fenced"
}
}

0 comments on commit a55f490

Please sign in to comment.