blaze-markup-0.5.0.0: A blazingly fast markup combinator library for Haskell

Safe HaskellSafe-Infered

Text.Blaze.Renderer.Utf8

Synopsis

Documentation

renderMarkupBuilder,renderHtmlBuilderSource

Arguments

:: Markup

Markup to render

-> Builder

Resulting builder

Render some Markup to a Builder.

renderMarkup,renderHtmlSource

Arguments

:: Markup

Markup to render

-> ByteString

Resulting ByteString

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

renderMarkupToByteStringIO,renderHtmlToByteStringIOSource

Arguments

:: (ByteString -> IO ())

IO action to execute per rendered buffer

-> Markup

Markup to render

-> IO ()

Resulting IO action

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