Module documentation for 0.1.0

inliterate: Dynamic reporting for Haskell

The aim of inliterate is generate dynamic markdown reports from literate Haskell code in which
code blocks can be evaluated to present the results of analyses in textual or graphical form.

inliterate is a GHC preprocessor which transforms a markdown document into a Haskell program,
which, when run, prints to stdout the input document in HTML format. Certain code blocks with special
annotations can be treated in particular ways: as Haskell code that must be included in the
generating program (at the top level or in a do block) and as code that must be evaluated with the results
inserted into the HTML document.

Using stack runghc

if you have a larger number, or dynamically changing, set of documents, you can run them individually using stack runghc. inliterate
should be listed in your cabal file as a build dependency to make sure the package is visible.

stack runghc InliterateFile.hs

if you want only the body HTML and not the headers, you can pass the argument --no-inlit-wrap to the executable