Copyright | Copyright (C) 2024 John MacFarlane |
---|---|
License | GNU GPL, version 2 or above |
Maintainer | John MacFarlane <jgm@berkeley.edu> |
Stability | alpha |
Portability | portable |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Reads and evaluates a Djot document as a Pandoc AST.
Synopsis
- readDjot :: (PandocMonad m, ToSources a) => ReaderOptions -> a -> m Pandoc
Documentation
readDjot :: (PandocMonad m, ToSources a) => ReaderOptions -> a -> m Pandoc Source #
Read Djot from an input string and return a Pandoc document.