Sco*_*son 7 markdown changelog visual-studio-code
在 VS Code 中,我对 Markdown 文件使用 markdownlint。我喜欢它所施加的规则,除了我的 CHANGELOG.md 文件(请参阅keepachangelog.com)。
有没有办法为我的大多数 Markdown 文件设置一组规则,并为更改日志设置另一组规则?
您可以使用以下语法对文件使用自定义 markdownlint 配置:
<!-- markdownlint-configure-file { options.config JSON } -->
Run Code Online (Sandbox Code Playgroud)
例如,要将CHANGELOG.md文件的行长度设置为 90,请添加以下内容:
<!-- markdownlint-configure-file { "MD013": { "line_length": 90 } } -->
Run Code Online (Sandbox Code Playgroud)
有关更多详细信息,请参阅 markdownlint 的配置文档。
| 归档时间: |
|
| 查看次数: |
1023 次 |
| 最近记录: |