Safe Haskell | Safe-Infered |
---|
- renderMarkupBuilder, renderHtmlBuilder :: Markup -> Builder
- renderMarkup, renderHtml :: Markup -> ByteString
- renderMarkupToByteStringIO, renderHtmlToByteStringIO :: (ByteString -> IO ()) -> Markup -> IO ()
Documentation
:: Markup | Markup to render |
-> ByteString | Resulting |
Render HTML to a lazy UTF-8 encoded 'L.ByteString.'
renderMarkupToByteStringIO,renderHtmlToByteStringIOSource
:: (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.