Skip to content

Auto excerpt plugin for hexo. No need to manually add <!-- more --> tag.

License

Notifications You must be signed in to change notification settings

tuliren/hexo-plain-excerpt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hexo-plain-excerpt

npm version

NexT removes auto excerpt in v7.6.0. None of the existing plugins is as good as the original one. This repo aims to bring back the original NexT excerpt. It is modified 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.

About

Auto excerpt plugin for hexo. No need to manually add <!-- more --> tag.

Topics

Resources

License

Stars

Watchers

Forks

Languages

  • JavaScript 100.0%