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

Safe HaskellNone

Text.Blaze.Renderer.Text

Description

A renderer that produces a lazy Text value, using the Text Builder.

Synopsis

Documentation

renderMarkupBuilder :: Markup -> BuilderSource

Render markup to a text builder

renderMarkupBuilderWithSource

Arguments

:: (ByteString -> Text)

Decoder for bytestrings

-> Markup

Markup to render

-> Builder

Resulting builder

Render some Markup to a Text Builder.

renderMarkup :: Markup -> TextSource

Render markup to a lazy Text value. If there are any ByteString's in the input markup, this function will consider them as UTF-8 encoded values and decode them that way.

renderMarkupWithSource

Arguments

:: (ByteString -> Text)

Decoder for ByteString's.

-> Markup

Markup to render

-> Text 

Render markup to a lazy Text value. This function allows you to specify what should happen with ByteString's in the input HTML. You can decode them or drop them, this depends on the application...

renderHtmlBuilder :: Markup -> BuilderSource

Deprecated: Use renderHtmlBuilder from Text.Blaze.Html.Renderer.Text instead

renderHtmlBuilderWithSource

Arguments

:: (ByteString -> Text)

Decoder for bytestrings

-> Markup

Markup to render

-> Builder

Resulting builder

Deprecated: Use renderHtmlBuilderWith from Text.Blaze.Html.Renderer.Text instead

renderHtml :: Markup -> TextSource

Deprecated: Use renderHtml from Text.Blaze.Html.Renderer.Text instead

renderHtmlWithSource

Arguments

:: (ByteString -> Text)

Decoder for ByteString's.

-> Markup

Markup to render

-> Text

Resulting lazy text

Deprecated: Use renderHtmlWith from Text.Blaze.Html.Renderer.Text instead