| Safe Haskell | Safe | 
|---|---|
| Language | Haskell98 | 
Language.Haskell.HsColour.HTML
Contents
Description
Formats Haskell source code using HTML with font tags.
- hscolour :: ColourPrefs -> Bool -> Int -> String -> String
 - top'n'tail :: String -> String -> String
 - renderAnchors :: (a -> String) -> Either String a -> String
 - renderComment :: String -> String
 - renderNewLinesAnchors :: Int -> String -> String
 - escape :: String -> String
 
Documentation
Arguments
| :: ColourPrefs | Colour preferences.  | 
| -> Bool | Whether to include anchors.  | 
| -> Int | Starting line number (for line anchors).  | 
| -> String | Haskell source code.  | 
| -> String | Coloured Haskell source code.  | 
Formats Haskell source code using HTML with font tags.
Internals
renderComment :: String -> String Source #