diff options
author | Chris Jensen <cjjensen01@aol.com> | 2020-12-29 17:07:28 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-29 20:07:28 +0300 |
commit | ef1bad68d6e9d62da7a1115a7d75bad689b62817 (patch) | |
tree | 695e0bb91caa15915de8935e3da4bd9db6ba66d2 /lib/Hakyll/Web | |
parent | 478a2e8590c160d0ca657bfbd8e5c852034f651f (diff) | |
download | hakyll-ef1bad68d6e9d62da7a1115a7d75bad689b62817.tar.gz |
Add documentation for the pandocBiblioCompiler (#828)
* Add documentation for pandoc
* Fix grammar
Diffstat (limited to 'lib/Hakyll/Web')
-rw-r--r-- | lib/Hakyll/Web/Pandoc/Biblio.hs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Hakyll/Web/Pandoc/Biblio.hs b/lib/Hakyll/Web/Pandoc/Biblio.hs index 567f478..566c706 100644 --- a/lib/Hakyll/Web/Pandoc/Biblio.hs +++ b/lib/Hakyll/Web/Pandoc/Biblio.hs @@ -122,6 +122,7 @@ readPandocBiblio ropt csl biblio item = do zeroTime = Time.UTCTime (toEnum 0) 0 -------------------------------------------------------------------------------- +-- | Compiles a markdown file via Pandoc. Requires the .csl and .bib files to be known to the compiler via match statements. pandocBiblioCompiler :: String -> String -> Compiler (Item String) pandocBiblioCompiler cslFileName bibFileName = do csl <- load $ fromFilePath cslFileName |