This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env runhaskell | |
{- | |
Pandoc filter to replace horizontal rules with hard section breaks when output is in Word format. | |
Credits: This is a very lightly adapted version of a `\newpage` filter | |
previously described on pandoc-discuss: | |
https://groups.google.com/forum/#!topic/pandoc-discuss/FzLrhk0vVbU | |