Skip to content
Branch: master
Find file History
tarleb Make diff command configurable
It is now possible to chose the command used to compare files by setting
the `DIFF` variable.
Latest commit 1cd2737 Apr 19, 2019


This filter counts the words in the body of a document (omitting metadata like titles and abstracts), including words in code. It should be more accurate than wc -w run directly on a Markdown document, since the latter will count markup characters, like the # in front of an ATX header, or tags in HTML documents, as words.

To run it, pandoc --lua-filter wordcount.lua The word count will be printed to stdout.

You can’t perform that action at this time.