Skip to content

Commit 61307e1

Browse files
committed
chore: fix md lint
1 parent 2c2674e commit 61307e1

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-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: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,12 @@
175175

176176
"MD033": {
177177
// Allowed elements
178-
"allowed_elements": []
178+
"allowed_elements": ["youtube"],
179+
"ignorePatterns": [
180+
{
181+
"pattern": "^@\\[youtube\\]\\(.*\\)$"
182+
}
183+
]
179184
},
180185

181186
// MD034/no-bare-urls - Bare URL used
@@ -302,4 +307,4 @@
302307
"//"
303308
]
304309
}
305-
}
310+
}

0 commit comments

Comments
 (0)