HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Modulesundown-0.6Haskell98

Text.Sundown

Bindings to the github fork of the sundown library - previously known as upskirt: https://github.com/tanoku/sundown

To actually get output, you have to use one of the Text.Sundown.Html modules:

Example usage:

import Text.Sundown.Renderers.Html.String
import System (getArgs)
import Control.Monad (liftM)

main :: IO ()
main = do
  input <- liftM (!! 0) getArgs >>= readFile
  putStrLn $ renderHtml input allExtensions noHtmlModes Nothing
  • 1 type
  • 2 values
  • Packagesundown-0.6
  • Exports3
  • LanguageHaskell98
  • LicenceLicenseRef-PublicDomain
  • SourceSundown.hs

Markdown extensions

3 declarations
datadata Extensions
#

A set of switches to enable or disable markdown features.

Constructors

Instances1Flag
  • Flag ExtensionsDefined in sundown-0.6 · Text.Sundown.Foreign