gitit

Network.Gitit.Page

Synopsis

Documentation

stringToPage :: Config -> String -> String -> Page

Read a string (the contents of a page file) and produce a Page object, using defaults except when overridden by metadata.

pageToString :: Config -> Page -> String

Write a string (the contents of a page file) corresponding to a Page object, using explicit metadata only when needed.