mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 15:14:49 +03:00
13 lines
214 B
Haskell
13 lines
214 B
Haskell
|
#!/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
|
||
|
|