|
| Network.Gitit.ContentTransformer |
|
|
|
|
|
| Synopsis |
|
|
|
|
| ContentTransformer runners
|
|
|
| Converts a ContentTransformer into a GititServerPart;
specialized to wiki pages.
|
|
|
| Converts a ContentTransformer into a GititServerPart;
specialized to non-pages.
|
|
| Gitit responders
|
|
|
| Responds with raw page source.
|
|
|
| Responds with raw source (for non-pages such as source
code files).
|
|
|
| Responds with rendered wiki page.
|
|
|
| Responds with page exported into selected format.
|
|
|
| Responds with highlighted source code.
|
|
|
| Responds with non-highlighted source code.
|
|
|
| Responds with rendered page derived from form data.
|
|
|
| Applies pre-commit plugins to raw page source, possibly
modifying it.
|
|
| Cache support for transformers
|
|
|
| Caches a response (actually just the response body) on disk,
unless the context indicates that the page is not cacheable.
|
|
|
| Returns cached page if available, otherwise mzero.
|
|
| Content retrieval combinators
|
|
|
| Returns raw file contents.
|
|
| Response-generating combinators
|
|
|
| Converts raw contents to a text/plain response.
|
|
|
| Converts raw contents to a response that is appropriate with
a mime type derived from the page's extension.
|
|
|
|
|
|
| Converts Pandoc to response using format specified in parameters.
|
|
|
| Adds the sidebar, page tabs, and other elements of the wiki page
layout to the raw content.
|
|
| Content-type transformation combinators
|
|
|
| Converts Page to Pandoc, applies page transforms, and adds page
title.
|
|
|
| Converts source text to Pandoc using default page type.
|
|
|
| Converts pandoc document to HTML.
|
|
|
| Returns highlighted source code.
|
|
| Content or context augmentation combinators
|
|
|
| Applies all the page transform plugins to a Pandoc document.
|
|
|
| Puts rendered page content into a wikipage div, adding
categories.
|
|
|
| Adds page title to a Pandoc document.
|
|
|
| Adds javascript links for math support.
|
|
|
| Adds javascripts to page layout.
|
|
| ContentTransformer context API
|
|
|
|
|
|
|
|
|
|
|
|
| Pandoc and wiki content conversion support
|
|
|
| Derives a URL from a list of Pandoc Inline elements.
|
|
|
| Convert a list of inlines into a string.
|
|
| Produced by Haddock version 2.6.1 |