diff options
Diffstat (limited to 'plugins/ListLinksPlugin.hs')
-rw-r--r-- | plugins/ListLinksPlugin.hs | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/plugins/ListLinksPlugin.hs b/plugins/ListLinksPlugin.hs deleted file mode 100644 index 1342aecf0..000000000 --- a/plugins/ListLinksPlugin.hs +++ /dev/null @@ -1,15 +0,0 @@ -module ListLinksPlugin (transform) where -import Text.Pandoc - --- This plugin returns an empty document and prints a list --- of the URLs linked to in the source document. - -transform :: Pandoc -> IO Pandoc -transform p = do - let urls = queryWith findURLs p - putStrLn $ unlines urls - return $ Pandoc (Meta [] [] []) [] - -findURLs :: Inline -> [String] -findURLs (Link label (url, title)) = [url] -findURLs x = [] |