hakyll-1.2: A simple static site generator library.Source codeContentsIndex
Text.Hakyll.Util
Description
Miscellaneous text manipulation functions.
Synopsis
trim :: String -> String
stripHTML :: String -> String
link :: String -> String -> String
Documentation
trim :: String -> StringSource
Trim a string (drop spaces, tabs and newlines at both sides).
stripHTML :: String -> StringSource
Strip html tags from the given string.
linkSource
:: StringLink text.
-> StringLink destination.
-> String

Make a HTML link.

 link "foo" "bar.html" == "<a href='bar.html'>foo</a>"
Produced by Haddock version 2.6.0