Using external filter commands to reformat HTML
Vimcasts
- February 18, 2014
- 5 min
About this episode
We can use pandoc as a filter to clean up WYSIWYG-generated HTML. Pandoc is a commandline program, but we can call it from inside Vim either using the bang Ex command, or by configuring the formatprg option to make the gq operator invoke pandoc.
