hscolourSource codeContentsIndex
Language.Haskell.HsColour.HTML
Contents
Internals
Description
Formats Haskell source code using HTML with font tags.
Synopsis
hscolour :: ColourPrefs -> Bool -> Bool -> String -> String -> String
renderAnchors :: ((TokenType, String) -> String) -> Either String (TokenType, String) -> String
renderComment :: String -> String
renderNewLinesAnchors :: String -> String
Documentation
hscolourSource
:: ColourPrefsColour preferences.
-> BoolWhether to include anchors.
-> BoolWhether output should be partial.
-> StringTitle for webpage output.
-> StringHaskell source code.
-> StringColoured Haskell source code.
Formats Haskell source code using HTML with font tags.
Internals
renderAnchors :: ((TokenType, String) -> String) -> Either String (TokenType, String) -> StringSource
renderComment :: String -> StringSource
renderNewLinesAnchors :: String -> StringSource
Produced by Haddock version 0.8