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