hledger-lib-1.42.1: A library providing the core functionality of hledger
Safe HaskellSafe-Inferred
LanguageHaskell2010

Hledger.Write.Html.Lucid

Description

HTML writing helpers using lucid.

Synopsis

Documentation

type Html = Html () Source #

toHtml :: forall (m :: Type -> Type). (ToHtml a, Monad m) => a -> HtmlT m () #

Convert to HTML, doing HTML escaping.

styledTableHtml :: Lines border => [[Cell border Html]] -> Html Source #

Export spreadsheet table data as HTML table. This is derived from https://hackage.haskell.org/package/classify-frog-0.2.4.3/src/src/Spreadsheet/Format.hs

formatRow :: Lines border => [Cell border Html] -> Html Source #

formatCell :: Lines border => Cell border Html -> Html Source #