Skip to content

Commit f4cd031

Browse files
committed
fix(textlintrc): add allowlist filter for custom markdown syntax
1 parent d28a076 commit f4cd031

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.textlintrc.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"plugins": {
33
"mdx": true
44
},
5+
"filters": {
6+
"allowlist": {
7+
"allow": ["/^:::[a-zA-Z]+\\[[^\\]]*\\][\\s\\S]*?^:::\\s*$/gm"]
8+
}
9+
},
510
"rules": {
611
"one-sentence-per-line": true
712
}

0 commit comments

Comments
 (0)