gitit-0.12.3: Wiki using happstack, git or darcs, and pandoc.

Safe HaskellNone
LanguageHaskell98

Network.Gitit.Handlers

Synopsis

Documentation

preview :: Handler Source #

Responds with rendered page derived from form data.

showRawPage :: Handler Source #

Converts a ContentTransformer into a GititServerPart; specialized to wiki pages. runPageTransformer :: ToMessage a => ContentTransformer a -> GititServerPart a runPageTransformer = runTransformer pathForPage

Converts a ContentTransformer into a GititServerPart; specialized to non-pages. runFileTransformer :: ToMessage a => ContentTransformer a -> GititServerPart a runFileTransformer = runTransformer id

Responds with raw page source.

showFileAsText :: Handler Source #

Responds with raw source (for non-pages such as source code files).

showPage :: Handler Source #

Responds with rendered wiki page.

exportPage :: Handler Source #

Responds with page exported into selected format.

showHighlightedSource :: Handler Source #

Responds with highlighted source code.