Skip to content

add plugin "words countable" #1105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions docs/plugins.md
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,31 @@ A docsify.js plugin for displaying tabbed content from markdown.

Provided by [@jhildenbiddle](https://github.com/jhildenbiddle/docsify-tabs).

## Words Countable

This is a plugin to add word count for markdown files of docsify.Provided by [@827652549](https://github.com/827652549)

It only counts Chinese characters and English words excludes special characters like `*`、`-`、`……` in markdown file.

**Add JS**
```html
<script src="//unpkg.com/docsify-count/dist/countable.js"></script>
```

**Add settings**
```js
window.$docsify = {
count:{
countable:true,
fontsize:'0.9em',
color:'rgb(90,90,90)',
language:'chinese'
}
}
```

check [document](https://github.com/827652549/docsify-count)

## More plugins

See [awesome-docsify](awesome?id=plugins)