From 01459134db93345f48201567f128f9fad3a5d93f Mon Sep 17 00:00:00 2001 From: B84F2246 <3092193862@qq.com> Date: Sun, 2 Aug 2026 11:26:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=B7=BB=E5=8A=A0=20MarkdownLint=20?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6=E5=92=8C=20VSCode=20?= =?UTF-8?q?=E6=89=A9=E5=B1=95=E6=8E=A8=E8=8D=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .markdownlint-cli2.mjs | 59 +++++++++++++++++++++++++++++++++++++++++ .vscode/extensions.json | 5 ++++ 2 files changed, 64 insertions(+) create mode 100644 .markdownlint-cli2.mjs create mode 100644 .vscode/extensions.json diff --git a/.markdownlint-cli2.mjs b/.markdownlint-cli2.mjs new file mode 100644 index 00000000..217879f2 --- /dev/null +++ b/.markdownlint-cli2.mjs @@ -0,0 +1,59 @@ +export default { + config: { + default: true, + MD013: false, + MD024: { + "siblings_only": true + }, + MD033: { + allowed_elements: [ + "div", + "span", + "br", + "p", + "img", + "template", + "script", + "style", + "iframe", + "ArtPlayer", + "AudioPlayer", + "Badge", + "BiliBili", + "Catalog", + "CodePen", + "DemoProject", + "HighlightPanel", + "ProjectLink", + "PDF", + "Replit", + "Share", + "SiteInfo", + "StackBlitz", + "VPBanner", + "VPCard", + "VidStack", + "VideoPlayer", + "YouTube", + "MyComponent", + "ColorModeSwitch", + "FlowChartPlayground", + "IconDisplay", + "KatexPlayground", + "PrintButton", + "ThemeColorPicker", + "VPIcon", + "ToggleFullScreenButton", + "ToggleRTLButton", + "LinkCard" + ] + } + }, + ignores: [ + "**/node_modules/**", + "**/.vuepress/**", + "**/*.snippet.md", + "**/src/云湖API吐槽/**", + "**/.github/**" + ] +}; \ No newline at end of file diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..741afdd1 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,5 @@ +{ + "recommendations": [ + "davidanson.vscode-markdownlint" + ] +} \ No newline at end of file