在Markdown Lint规则MD033中允许在Visual Studio代码中的某些HTML元素
When authoring Markdown in Visual Studio Code with the markdownlint extension installed, I am seeing lint message MD033/no-inline-html: Inline HTML
.
How can I configure the linter not to warn me about a few specific HTML elements?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
在同一文件夹中与您的Markdown文件相同的文件夹中创建一个
.markDownlint.json
文件:要配置其他规则,请参见
参数:
在每个规则下列出的 在这里。Create a
.markdownlint.json
file in the same folder as your markdown file:To configure other rules, see the
Parameters:
listed under each rule here.添加到 Wallace Kelly的答案,您可以创建一个
.vscode/settings.json.json
文件和粘贴文件和粘贴这使此配置项目级别:Adding to Wallace Kelly's answer, you can create a
.vscode/settings.json
file and paste this to make this config project level:对于那些想为所有项目和使用VS代码的一般方式配置它的人,请添加到
seetings.json
文件:For those who want to configure it for all projects and in general way with VS code, add to
seetings.json
file: