web-rep-0.12.1.0: representations of a web page
Safe HaskellSafe-Inferred
LanguageGHC2021

Web.Rep.Render

Description

Page rendering

Synopsis

Documentation

renderPage :: Page -> Markup Source #

Render a Page with the default configuration into Html.

renderPageWith :: PageConfig -> Page -> (ByteString, ByteString, Markup) Source #

Render a Page into css text, js text and html.

renderPageHtmlWith :: PageConfig -> Page -> Markup Source #

Render a Page into Html.

renderPageToFile :: FilePath -> PageConfig -> Page -> IO () Source #

Render Page concerns to files.

renderPageHtmlToFile :: FilePath -> PageConfig -> Page -> IO () Source #

Render a page to just a Html file.