1.0.0 • Published 2 years ago

hexo-plain-excerpt v1.0.0

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

hexo-plain-excerpt

Next removes auto excerpt in v7.6.0. Neither of the existing plugins are as good as the original one. This repo is forked from ashisherc/hexo-auto-excerpt.

Install

npm install --save hexo-plain-excerpt

Option

excerpt_length: 350 (number of characters, default to 150).

Changes

Here are the differences of this fork from the original repo.

  • Update html-to-text to the latest version.
  • Replace the default item prefix (*) with a space.
  • Do nothing if excerpt already exists.
  • Add ... at the end.

License

The original repo is published under the MIT license.

1.0.0

2 years ago