agda-snippets-2.5.2: Render just the Agda snippets of a literate Agda file to HTML

Safe HaskellNone
LanguageHaskell2010

Agda.Contrib.Snippets

Synopsis

Documentation

renderAgdaSnippets Source #

Arguments

:: CommandLineOptions

Agda Command line options

-> CSSClass

CSS Class name

-> URI

URI where other Agda HTML listings are found (for library links etc)

-> FilePath

File name of literate agda file

-> IO String

Returns the file contents as a string, where each code block has been rendered to HTML.

Render a literate Agda module's code snippets to HTML.

type CSSClass = String Source #

The CSS Class to use for Agda code blocks