Formats Haskell source code using HTML with font tags.
Documentation
:: 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 -> StringSource
Internals
renderAnchors :: ((TokenType, String) -> String) -> Either String (TokenType, String) -> StringSource
renderComment :: String -> StringSource