@cspell/dict-markdown

中文文档
2.0.18发布于 2026/08/19MIT零依赖构建来源已验证近 30 天下载 702.5万

Markdown dictionary for cspell.

原始使用文档
文档目录10 节
  1. Requirements
  2. Local Installation
  3. Configuration
  4. Local Installation using CDN
  5. Dictionary Information
  6. Language Settings
  7. Predefined Patterns
  8. Contributing
  9. Dictionary Development
  10. License

CSpell Markdown Dictionary

Markdown dictionary for cspell.

This is a pre-built dictionary for use with CSpell.

Requirements

ToolVersion
cspell>= 8
Code Spell Checker - Visual Studio Code>= 4

Local Installation

This package is bundled with CSpell.

Configuration

VSCode Settings

Add the following to your VSCode settings:

.vscode/settings.json

{
  "cSpell.dictionaries": [],
}
CSpell Settings cspell.json

cspell.json

{
  "dictionaries": [],
}
CSpell Settings cspell.config.yaml

cspell.config.yaml

dictionaries: []

Local Installation using CDN

NOTE: This package is bundled with CSpell.

Dictionary Information

NameEnabledDescription
htmlExternal
html-symbol-entitiesExternal
typescriptExternal
cssExternal

Language Settings

NameLocaleFile Type
html*markdown, mdx
html-symbol-entities*markdown, mdx
typescript*mdx
css*mdx

Predefined Patterns

Predefined patterns can be used to ignore or include sequences of text to be spell checked.

The following patterns are defined in this dictionary:

NameDescription
MARKDOWN-link-referenceMarkdown reference link: [This is a link][reference], matches [reference]
MARKDOWN-link-footerMarkdown referenced link: [reference]: https://www.google.com, matches the entire reference.
MARKDOWN-linkMarkdown link: [link text](link), matches link
MARKDOWN-anchorMarkdown Anchors: <a id="my_link"></a>, matches my_link

Contributing

Please help correct any mistakes in the dictionaries.

See: Contributing

Special thanks to all of our amazing contributors!

Dictionary Development

See: How to Create a New Dictionary

License

MIT

Some packages may have other licenses included.



Brought to you by Street Side Software Logo Street Side Software

版本与发布记录

@cspell/dict-markdown 共发布 19 个版本,首次发布于 2022/09/14;过去 12 个月发布了 6 个版本。最新版本附带 npm provenance 构建来源证明,可追溯到公开的 CI 构建记录。

版本发布日期距今
2.0.18latest2026/08/192 个月前
2.0.172026/05/315 个月前
2.0.162026/03/098 个月前
2.0.152026/03/028 个月前
2.0.142025/12/1710 个月前
2.0.132025/11/2811 个月前

关于 @cspell/dict-markdown 的常见问题

@cspell/dict-markdown 是什么?

Markdown dictionary for cspell.

如何安装 @cspell/dict-markdown?

在项目目录运行 npm install @cspell/dict-markdown,或使用 pnpm add / yarn add / bun add。它还需要宿主项目提供 peer 依赖:@cspell/dict-css(^4.1.2)、@cspell/dict-html(^4.0.16)、@cspell/dict-typescript(^3.2.3)、@cspell/dict-html-symbol-entities(^4.0.5)。npm 7 及以上与 pnpm 8 及以上默认会自动安装必需的 peer 依赖,Yarn 需要手动安装。

@cspell/dict-markdown 支持 TypeScript 吗?

该包的 package.json 没有声明类型入口。需要类型提示时,可以在 npm 上查找社区维护的 @types/cspell__dict-markdown 是否存在。

@cspell/dict-markdown 可以商用吗?

@cspell/dict-markdown 使用 MIT 许可。宽松许可:允许商业使用、修改和再分发,通常只需在分发时保留原版权与许可声明。以上为概括,不构成法律意见,请以许可原文为准。

@cspell/dict-markdown 的下载量有多少?

根据 npm 官方下载统计,@cspell/dict-markdown 在 2026/10/11 – 2026/11/09 这 30 天内被下载 7,024,580 次,日均约 234,153 次。下载量会把 CI 构建、镜像同步和作为其他包依赖的安装一并计入,适合横向比较热度,不能直接等同于使用人数。

@cspell/dict-markdown 还在维护吗?

最新版本 2.0.18 发布于 2026/08/19(2 个月前);至今共发布 19 个版本,其中过去 12 个月发布了 6 个;首次发布于 2022/09/14。发布频率只是参考信号:功能稳定的工具可能很少需要更新,建议结合源码仓库的 issue 和提交记录判断。