-- |
-- Prints a markdown document to the terminal
renderTerminal :: Doc -> IO ()
renderTerminal doc = do
    b <- renderIO doc
    mapM_ Text.Lazy.putStrLn (Text.Lazy.lines b)

-- |
-- Renders a 'Doc' doing 'IO' reading options from the environment
renderTerminal :: Doc -> IO ()
renderTerminal doc = do
    b <- renderIO doc
    mapM_ Text.Lazy.putStrLn (Text.Lazy.lines b)

-- |
-- Renders a 'Doc' doing 'IO' reading options from the environment
renderTerminal doc = do
    b <- renderIO doc
    mapM_ Text.Lazy.putStrLn (Text.Lazy.lines b)

-- |
-- Renders a 'Doc' doing 'IO' reading options from the environment