blaze-html-0.4.2.1: A blazingly fast HTML combinator library for Haskell

Text.Blaze.Renderer.Utf8

Synopsis

Documentation

renderHtmlBuilderSource

Arguments

:: Html

HTML to render

-> Builder

Resulting builder

Render some Html to a Builder.

renderHtmlSource

Arguments

:: Html

HTML to render

-> ByteString

Resulting ByteString

Render HTML to a lazy UTF-8 encoded 'L.ByteString.'

renderHtmlToByteStringIOSource

Arguments

:: (ByteString -> IO ())

IO action to execute per rendered buffer

-> Html

HTML to render

-> IO ()

Resulting IO action

Repeatedly render HTML to a buffer and process this buffer using the given IO action.