#!/usr/bin/env stack -- stack runghc --package pandoc-types import Text.Pandoc.JSON main :: IO () main = toJSONFilter removeNotes removeNotes :: Inline -> Inline removeNotes (Note _) = Str "" removeNotes x = x