@starlight36/vuepress-plugin-check-md
v0.0.3
Published
checks dead links of markdown
Downloads
2
Readme
vuepress-plugin-check-md
vuepress check-md
- Check dead links of markdown.
This plugin is powered by check-md made with ❤️ by @whxaxes.
Features
This plugin help check following types of dead links
- Empty link.
- Non-existed target markdown file.
- Non-slugified hash.
- Non-existed hash.
- Prefer
.md
to.html
(warn
)
Install
yarn add -D vuepress-plugin-check-md
# OR npm install -D vuepress-plugin-check-md
Usage
module.exports = {
plugins: ['check-md']
}
vuepress check-md [docsDir]
Passing Options
module.exports = {
plugins: ['check-md', {
pattern: '**/*.md'
}]
}
Options
pattern
- Type:
GlobPattern
- Default:
**/*.md
Glob pattern of resolved markdowns.
ignore
- Type:
GlobPattern
- Default:
**/node_modules
Glob pattern to specify paths from being checked.
exitLevel
- Type:
'none' | 'info' | 'warn' | 'error'
- Default:
'error'
Author
vuepress-plugin-check-md © ULIVZ, Released under the MIT License.
github.com/ulivz · GitHub @ULIVZ · Twitter @_ulivz