Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Study.Framework.DocumentBuilders
Description
This module provides utilities for building Pandoc documents.
Synopsis
- buildDocumentFromMarkdownCode :: Text -> Either PandocError Pandoc
- buildGlossaryDocument :: Dictionary -> Vocabulary -> Pandoc
Documentation
buildDocumentFromMarkdownCode :: Text -> Either PandocError Pandoc Source #
Given Markdown code, produces a Pandoc document.
buildGlossaryDocument :: Dictionary -> Vocabulary -> Pandoc Source #
Given a dictionary and a vocabulary, produces a glossary in the form of a Pandoc document.