hakyll-contrib-csv-0.1.0.2: Generate Html tables from Csv files

Safe HaskellNone
LanguageHaskell2010

Hakyll.Contrib.Csv

Description

This module implements translation of CSV files to Blaze HTML for use with the Hakyll static site compiler.

Synopsis

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.