A word counter for raw Markdown files, excluding punctuation, footnotes, and special Markdown or HTML tag syntax.
You will need...
- 🐍 Python 3
- 🐑 A clone of this repo or a single file download of the script.
To run this script, pass the file you want to have analyzed as first parameter:
python mwc.py myfile.md
Since this script requires version 3, you might need to run that version specifically:
python3 mwc.py myfile.md
Run this to execute all tests:
python -m unittest discover
- A PHP port can be found here, with thanks to @Arcesilas!