diff options
Diffstat (limited to 'Utils.hs')
| -rw-r--r-- | Utils.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -62,3 +62,6 @@ hasUriScheme x = all id . zipWith (==) x . (++ ":") unAbsolute :: String -> String unAbsolute = dropWhile (== '/') + +withPandocBlocks :: ([Block] -> [Block]) -> Pandoc -> Pandoc +withPandocBlocks f (Pandoc meta blocks) = Pandoc meta (f blocks) |
