Pandoc filter to automatically detect the language of text, and adjust the lang
variable in the document metadata.
It will also attempt to detect the programming language used for any code blocks that specify highlight
as the class name.
npm install -g pandoc-lang
pandoc --filter pandoc-lang -s -t markdown test.md