willin / Hexo Wordcount
A Word Count Plugin for Hexo
Stars: ✭ 150
Programming Languages
javascript
184084 projects - #8 most used programming language
Projects that are alternatives of or similar to Hexo Wordcount
Awesome Hexo
A curated list of awesome things related to Hexo
Stars: ✭ 466 (+210.67%)
Mutual labels: hexo, plugin
Hexo Generator Search
A plugin to generate search data for Hexo.
Stars: ✭ 318 (+112%)
Mutual labels: hexo, plugin
Hexo Prism Plugin
Hexo plugin for code highlighting by prism.js, supporting JSX syntax
Stars: ✭ 195 (+30%)
Mutual labels: hexo, plugin
Hugo Leetcode Dashboard
A LeetCode dashboard for hugo website
Stars: ✭ 148 (-1.33%)
Mutual labels: plugin
Css Modal
A modal built with pure CSS, enhanced with JavaScript
Stars: ✭ 1,829 (+1119.33%)
Mutual labels: plugin
Godot Engine.easy Charts
A Godot Engine addon for plotting general purpose charts. A collection of Control, 2D and 3D Nodes to plot every chart possible.
Stars: ✭ 146 (-2.67%)
Mutual labels: plugin
Summernote Cleaner
Plugin for Summernote that adds a Button and/or Paste functionality for cleaning MS Word Crud from editor text
Stars: ✭ 148 (-1.33%)
Mutual labels: plugin
Lagmonitor
Monitor performance of your Minecraft server. Similar to VisualVM and Java Mission Control.
Stars: ✭ 147 (-2%)
Mutual labels: plugin
Hexo Theme Lite
Keep Calm, Light and Writing. Light Hexo Theme.
Stars: ✭ 148 (-1.33%)
Mutual labels: hexo
Git Self Blame
Stop trying to always blame others and take some responsibility already.
Stars: ✭ 148 (-1.33%)
Mutual labels: plugin
Hexo-WordCount
Installation
yarn add hexo-wordcount
# or
npm i --save hexo-wordcount
Usage
字数统计 WordCount
wordcount(post.content)
阅读时长预计 Min2Read
min2read(post.content)
设置阅读速度 Set Reading Speed:
min2read(post.content, {cn: 300, en: 160})
// p.s. (v3.0.0 added)
总字数统计 TotalCount
totalcount(site)
Demo
Swig
Post Count:
<span class="post-count">{{ wordcount(post.content) }}</span>
Post Minutes to Read:
<span class="post-count">{{ min2read(post.content) }}</span>
Total Count:
<span class="post-count">{{ totalcount(site) }}</span>
Ejs
Post Count:
<span class="post-count"><%= wordcount(post.content) %></span>
Post Minutes to Read:
<span class="post-count"><%= min2read(post.content) %></span>
Total Count:
<span class="post-count"><%= totalcount(site) %></span>
Jade
Post Count:
span.post-count= wordcount(post.content)
Post Minutes to Read:
span.post-count= min2read(post.content)
Total Count:
span.post-count= totalcount(site)
LICENSE
MIT
Alipay Donation(通过支付宝捐赠):
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].