Safe Haskell | None |
---|---|
Language | Haskell2010 |
This module implements translation of CSV files to Blaze HTML for use with the Hakyll static site compiler.
- csvCompileTable :: Compiler (Item String)
- csvTable :: ByteString -> Html
- csvCompileTableContents :: Compiler (Item String)
- csvTableContents :: ByteString -> Html
Documentation
csvCompileTable :: Compiler (Item String) Source
A Hakyll compiler
used to build a plain Html table from Csv data.
csvTable :: ByteString -> Html Source
Generates Blaze Html data from a lazy bytestring of Csv data.
csvCompileTableContents :: Compiler (Item String) Source
A Hakyll compiler
that builds only the inner part of an Html table from Csv data.
Typically inserted into '<table>' tags with a hakyll template.
csvTableContents :: ByteString -> Html Source
Generates Blaze Html data representing the table without outer '<table>' tags. This is useful when used in conjuction with a template to add additional properties to the table.