Skip to content

Commit 309417c

Browse files
committed
chore: fix md lint
1 parent 2c2674e commit 309417c

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

.github/workflows/markdownlint-action.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- name: markdownlint-cli
10-
uses: nosborn/github-action-markdown-cli@v3.3.0
10+
uses: nosborn/github-action-markdown-cli@v3.4.0
1111
with:
1212
files: .
1313
config_file: .markdownlint.jsonc
14-

.markdownlint.jsonc

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,12 @@
77
// Path to configuration file to extend
88
"extends": null,
99

10+
"ignorePatterns": [
11+
{
12+
"pattern": "^@\\[youtube\\]\\(.*\\)$"
13+
}
14+
],
15+
1016
// MD001/heading-increment/header-increment - Heading levels should only increment by one level at a time
1117
// Enforces bullet 1 of https://docs.ipfs.tech/community/contribute/grammar-formatting-and-style/#titles
1218
"MD001": true,
@@ -175,7 +181,7 @@
175181

176182
"MD033": {
177183
// Allowed elements
178-
"allowed_elements": []
184+
"allowed_elements": ["youtube"]
179185
},
180186

181187
// MD034/no-bare-urls - Bare URL used
@@ -302,4 +308,4 @@
302308
"//"
303309
]
304310
}
305-
}
311+
}

0 commit comments

Comments
 (0)