hakyll-4.12.5.2: A static website compiler library

Safe HaskellNone
LanguageHaskell2010

Hakyll.Web.Pandoc.Biblio

Description

Wraps pandocs bibiliography handling

In order to add a bibliography, you will need a bibliography file (e.g. .bib) and a CSL file (.csl). Both need to be compiled with their respective compilers (biblioCompiler and cslCompiler). Then, you can refer to these files when you use readPandocBiblio. This function also takes the reader options for completeness -- you can use defaultHakyllReaderOptions if you're unsure. pandocBiblioCompiler is a convenience wrapper which works like pandocCompiler, but also takes paths to compiled bibliography and csl files.

Documentation

data CSL Source #

Instances
Show CSL Source # 
Instance details

Defined in Hakyll.Web.Pandoc.Biblio

Methods

showsPrec :: Int -> CSL -> ShowS #

show :: CSL -> String #

showList :: [CSL] -> ShowS #

Binary CSL Source # 
Instance details

Defined in Hakyll.Web.Pandoc.Biblio

Methods

put :: CSL -> Put #

get :: Get CSL #

putList :: [CSL] -> Put #

Writable CSL Source # 
Instance details

Defined in Hakyll.Web.Pandoc.Biblio

Methods

write :: FilePath -> Item CSL -> IO () Source #

newtype Biblio Source #

Constructors

Biblio [Reference] 
Instances
Show Biblio Source # 
Instance details

Defined in Hakyll.Web.Pandoc.Biblio

Binary Biblio Source # 
Instance details

Defined in Hakyll.Web.Pandoc.Biblio

Methods

put :: Biblio -> Put #

get :: Get Biblio #

putList :: [Biblio] -> Put #

Writable Biblio Source # 
Instance details

Defined in Hakyll.Web.Pandoc.Biblio

Methods

write :: FilePath -> Item Biblio -> IO () Source #