Language.Haskell.HsColour.HTML
Contents
Description
Formats Haskell source code using HTML with font tags.
- hscolour :: ColourPrefs -> Bool -> Bool -> String -> String
- renderAnchors :: ((TokenType, String) -> String) -> Either String (TokenType, String) -> String
- renderComment :: String -> String
- renderNewLinesAnchors :: String -> String
- escape :: [Char] -> [Char]
Documentation
Arguments
:: ColourPrefs | Colour preferences. |
-> Bool | Whether to include anchors. |
-> Bool | Whether output should be partial. |
-> String | Haskell source code. |
-> String | Coloured Haskell source code. |
Formats Haskell source code using HTML with font tags.
Internals
renderAnchors :: ((TokenType, String) -> String) -> Either String (TokenType, String) -> String
renderComment :: String -> String
renderNewLinesAnchors :: String -> String
escape :: [Char] -> [Char]