Safe Haskell | None |
---|---|
Language | Haskell2010 |
- prettyPrint :: Doc -> IO ()
- renderTerminal :: Doc -> IO ()
- renderIO :: Doc -> IO Text
- data PrettyPrintOptions = PrettyPrintOptions {}
- def :: Default a => a
- renderIOWith :: PrettyPrintOptions -> Doc -> IO Text
- renderPureWith :: PrettyPrintOptions -> Doc -> Text
- renderBlock :: PrettyPrintOptions -> Block -> IO Text
- renderBlockPure :: PrettyPrintOptions -> Block -> Text
- renderInline :: Inline -> Builder
Rendering markdown to the terminal
prettyPrint :: Doc -> IO () Source
An alias for renderTerminal
renderTerminal :: Doc -> IO () Source
Prints a markdown document to the terminal
Options
renderIOWith :: PrettyPrintOptions -> Doc -> IO Text Source
Pure rendering
renderPureWith :: PrettyPrintOptions -> Doc -> Text Source
Internal functions and implementation comments
renderBlock :: PrettyPrintOptions -> Block -> IO Text Source
renderBlockPure :: PrettyPrintOptions -> Block -> Text Source
renderInline :: Inline -> Builder Source
Renders an inline to a Text
Builder