Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>mdLintNew to Visual Studio Code? Get it now.
mdLint

mdLint

wdssmq

|
194 installs
| (0) | Free
使用 @lint-md/core 为 Markdown 文件提供格式规则检查。
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-plugin-mdLint

使用 @lint-md/core 为 Markdown 文件提供格式规则检查。

Git:https://github.com/wdssmq/vscode-plugin-mdLint

商店:https://marketplace.visualstudio.com/items?itemName=wdssmq.mdlint

配置

在工作区根目录创建 mdlint.json,通过 rules 配置检查规则。例如:

{
  "rules": {
    "no-long-code": [1, { "length": 137, "exclude": [] }]
  }
}

规则配置格式为 [级别, 规则选项]:级别 0 表示关闭,1 表示警告,2 表示错误。上例将超过 137 个字符的行标记为警告;省略的规则使用默认配置。

完整规则列表及各规则选项请参阅 lint-md 文档。

开发

使用 pnpm 管理根目录、client 和 server 的依赖。在项目根目录运行 pnpm install 安装依赖,再运行 pnpm run compile 编译。

引用

vscode-extension-samples/lsp-sample at main · microsoft/vscode-extension-samples:

https://github.com/microsoft/vscode-extension-samples/tree/main/lsp-sample

lint-md/vscode-plugin: Configurable VSCode 💻markdown plugin:

https://github.com/lint-md/vscode-plugin

支持

qr-ali qr-wx qr-qq
爱发电
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft