From 25b2ffa9bacc5aa04883cd3eda09696c1bc86a97 Mon Sep 17 00:00:00 2001 From: Cotes Chung <11371340+cotes2020@users.noreply.github.com> Date: Sat, 2 Mar 2024 00:56:55 +0800 Subject: [PATCH] build: configure rules for `markdownlint` --- .markdownlint.json | 8 ++++++++ .vscode/settings.json | 3 +++ 2 files changed, 11 insertions(+) create mode 100644 .markdownlint.json diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..831991e --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,8 @@ +{ + "commands-show-output": false, + "blanks-around-fences": false, + "line-length": false, + "no-inline-html": { + "allowed_elements": ["kbd", "sub"] + } +} diff --git a/.vscode/settings.json b/.vscode/settings.json index 4fcded4..d3c87b8 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,6 +7,9 @@ "files.associations": { "*.html": "liquid" }, + "[markdown]": { + "editor.formatOnSave": false + }, // Formatter "[html][liquid]": { "editor.defaultFormatter": "Shopify.theme-check-vscode"