Safe Haskell | None |
---|---|
Language | Haskell2010 |
- renderModulesAsMarkdown :: MonadError MultipleErrors m => [Module] -> m Text
- type Docs = Writer [Text] ()
- runDocs :: Docs -> Text
- modulesAsMarkdown :: [Module] -> Docs
- codeToString :: RenderedCode -> Text
Documentation
renderModulesAsMarkdown :: MonadError MultipleErrors m => [Module] -> m Text Source #
Take a list of modules and render them all in order, returning a single Markdown-formatted Text.
modulesAsMarkdown :: [Module] -> Docs Source #
codeToString :: RenderedCode -> Text Source #