Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Text.Sundown
Contents
Description
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
Synopsis
Markdown extensions
data Extensions #
A set of switches to enable or disable markdown features.
Constructors
Extensions | |
Fields
|
All Extensions
disabled
All Extensions
enabled