Revert "Remove pandoc filters for now"

These filters seem to work on my mac so I am reverting the commit for
now.

This reverts commit 11c833dc8ec2c47013d672568f7a71c78b943cb0.