Markdown Magic Word Count Plugin
Plugin to count words in markdown file.
Install
npm i markdown-magic markdown-magic-wordcount --save-dev
Adding the plugin
See example.js
for usage.
const fs = const path = const markdownMagic = const config = transforms: // make sure wordcount transform is listed last WORDCOUNT: const markdownPath = path
Usage in markdown
<!-- ⛔️ AUTO-GENERATED-CONTENT:START (WORDCOUNT) -->83<!-- ⛔️ AUTO-GENERATED-CONTENT:END -->