1.0.1 • Published 5 years ago

vuepress-plugin-countable v1.0.1

Weekly downloads
-
License
MIT
Repository
github
Last release
5 years ago

Vuepress Plugin Countable

Reading time plugin for Vuepress. Based on Countable.js.

Compatible with both vuepress 0.x & 1.x.

Installation

yarn add vuepress-plugin-countable

or

npm i vuepress-plugin-countable

Usage

You can use plugins by doing some configuration at .vuepress/config.js.

module.exports = {
  plugins: [require('vuepress-plugin-countable')]
}

Put <Countable/> html tag behind title.

Don't forget to add <!-- more --> tag to .md file. This tag offers raw .md as $page.excerpt. Only content above the comment will be extracted. For more information please visit Official doc.

Author

vuepress-plugin-countable © coder-ysj, Released under the MIT License.

GitHub @coder-ysj · Twitter @coder_ysj

1.0.1

5 years ago

1.0.0

5 years ago