All Projects → willin → Hexo Wordcount

willin / Hexo Wordcount

A Word Count Plugin for Hexo

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
Hexo Tag Aplayer
Embed aplayer in Hexo posts/pages
Stars: ✭ 552 (+268%)
Mutual labels:  hexo, plugin
Hexo Theme Xoxo
Hexo theme for https://blog.0xff000000.com
Stars: ✭ 149 (-0.67%)
Mutual labels:  hexo
Hugo Leetcode Dashboard
A LeetCode dashboard for hugo website
Stars: ✭ 148 (-1.33%)
Mutual labels:  plugin
Google Java Format Gradle Plugin
Stars: ✭ 147 (-2%)
Mutual labels:  plugin
Hyper Search
Search-text plugin for Hyper.js
Stars: ✭ 146 (-2.67%)
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
Blog
My Blog & Blog System
Stars: ✭ 148 (-1.33%)
Mutual labels:  hexo
Hexo Theme Apollo
🌅 a concise hexo theme
Stars: ✭ 1,797 (+1098%)
Mutual labels:  hexo
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
Mobarena
MobArena plugin for Minecraft
Stars: ✭ 147 (-2%)
Mutual labels:  plugin
Runwayml For Unity
RunwayML for Unity 🎯
Stars: ✭ 151 (+0.67%)
Mutual labels:  plugin
Lagmonitor
Monitor performance of your Minecraft server. Similar to VisualVM and Java Mission Control.
Stars: ✭ 147 (-2%)
Mutual labels:  plugin
Vue Breadcrumbs
Breadcrumbs for Vue.js
Stars: ✭ 148 (-1.33%)
Mutual labels:  plugin
Neveryu.github.io
我的博客(Hexo + NexT + GitPage)
Stars: ✭ 150 (+0%)
Mutual labels:  hexo
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

npm npm npm

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(通过支付宝捐赠):

qr

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].