ulivz / vuepress-plugin-check-md

Check dead links of markdown.
MIT License
26 stars 7 forks source link

vuepress-plugin-check-md

NPM version NPM downloads

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

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

Following options can also be passed via CLI options, e.g. vuepress check-md --fix

fix

Check and try to fix

pattern

Glob pattern of resolved markdowns.

ignore

Glob pattern to specify paths from being checked.

exitLevel

Process exit level, default to error, other choice is warn and none, it will not exit if setting to none.

Author

vuepress-plugin-check-md © ULIVZ, Released under the MIT License.

github.com/ulivz · GitHub @ULIVZ · Twitter @_ulivz