HsColour

Safe HaskellSafe-Inferred

Language.Haskell.HsColour.HTML

Contents

Description

Formats Haskell source code using HTML with font tags.

Synopsis

Documentation

hscolour

Arguments

:: ColourPrefs

Colour preferences.

-> Bool

Whether to include anchors.

-> String

Haskell source code.

-> String

Coloured Haskell source code.

Formats Haskell source code using HTML with font tags.

top'n'tail :: String -> String -> String

Internals

renderAnchors :: (a -> String) -> Either String a -> String

renderComment :: String -> String

renderNewLinesAnchors :: String -> String

escape :: String -> String