From de45da4c2d7e947581fcd99bb7191ac65803e16d Mon Sep 17 00:00:00 2001 From: Su Yiheng <34745814+827652549@users.noreply.github.com> Date: Tue, 7 Apr 2020 12:21:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=AD=97=E6=95=B0=E7=BB=9F?= =?UTF-8?q?=E8=AE=A1=E6=8F=92=E4=BB=B6=20(#15)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 这是一款为docsify提供文字统计的插件 --- plugins.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/plugins.md b/plugins.md index 2ab688f..4f55610 100644 --- a/plugins.md +++ b/plugins.md @@ -162,6 +162,32 @@ docsify的分页导航插件,由[@imyelo](https://github.com/imyelo)提供。 从[这里](https://github.com/imyelo/docsify-pagination#readme)获取更多信息。 +## 字数统计 + +这是一款为docsify提供文字统计的插件. [@827652549](https://github.com/827652549)提供 + +它提供了统计中文汉字和英文单词的功能,并且排除了一些markdown语法的特殊字符例如*、-等 + +**Add JS** +```html + +``` + +**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) + + ## Code Fund 帮你快速接入[Code Fund](https://codesponsor.io/)的[插件](https://github.com/njleonzhang/docsify-plugin-codefund), 由[@njleonzhang](https://github.com/njleonzhang)提供。