Deprecated

In favour of

agda-snippets

Render just the Agda snippets of a literate Agda file to HTML

http://github.com/liamoc/agda-snippets#readme

Version on this page:2.4.2.4@rev:1
LTS Haskell 6.35:2.5.1@rev:1
Stackage Nightly 2016-05-25:2.5.1
Latest on Hackage:2.5.2@rev:1

See all snapshots agda-snippets appears in

BSD-3-Clause licensed by Liam O'Connor
Maintained by [email protected]
This version can be pinned in stack with:agda-snippets-2.4.2.4@sha256:9e227b4aa7cb0c3f5313604286bd13517931546ac876dd39e4fd84df676c503f,2725

Module documentation for 2.4.2.4

This library provides a very simple function that translates just the code blocks of a literate Agda file to colourised, hyperlinked HTML. The output of this can then be run through Pandoc or other document processors to allow literate Agda to be comfortably written in any format that allows inline HTML snippets.

There is also a simple command-line application (agda-snippets) included that can be used as a standalone file processor.

The location of library source hyperlinks is configurable, as is the CSS class given to Agda code blocks.

This package is pinned to particular Agda versions, and therefore does not obey the PVP, as Agda does not. You should use whichever version of this library corresponds to the Agda version you wish to use.

The development version of this library, available from GitHub, may work with development versions of Agda, although it could be broken at any time. If you stick to stable versions, you should be fine.