build: configure rules for markdownlint

This commit is contained in:
Cotes Chung 2024-03-02 00:56:55 +08:00
parent 8a2afae6ca
commit 25b2ffa9ba
No known key found for this signature in database
GPG key ID: 0D9E54843167A808
2 changed files with 11 additions and 0 deletions

8
.markdownlint.json Normal file
View file

@ -0,0 +1,8 @@
{
"commands-show-output": false,
"blanks-around-fences": false,
"line-length": false,
"no-inline-html": {
"allowed_elements": ["kbd", "sub"]
}
}

View file

@ -7,6 +7,9 @@
"files.associations": { "files.associations": {
"*.html": "liquid" "*.html": "liquid"
}, },
"[markdown]": {
"editor.formatOnSave": false
},
// Formatter // Formatter
"[html][liquid]": { "[html][liquid]": {
"editor.defaultFormatter": "Shopify.theme-check-vscode" "editor.defaultFormatter": "Shopify.theme-check-vscode"