mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 15:14:49 +03:00
13 lines
215 B
Haskell
Executable File
13 lines
215 B
Haskell
Executable File
#!/usr/bin/env stack
|
|
-- stack runghc --package pandoc-types
|
|
|
|
import Text.Pandoc.JSON
|
|
|
|
main :: IO ()
|
|
main = toJSONFilter removeLinks
|
|
|
|
removeLinks :: Inline -> [Inline]
|
|
removeLinks (Link l _) = l
|
|
removeLinks x = [x]
|
|
|