aboutsummaryrefslogtreecommitdiff
path: root/man/removeNotes.hs
blob: e61cb932a4e514cdfd259a931726663c93c8c683 (plain)
1
2
3
4
5
6
7
8
9
import Text.Pandoc.JSON

main :: IO ()
main = toJSONFilter removeNotes

removeNotes :: Inline -> Inline
removeNotes (Note _) = Str ""
removeNotes x = x