diff options
| author | John MacFarlane <[email protected]> | 2024-01-13 10:17:15 -0800 |
|---|---|---|
| committer | John MacFarlane <[email protected]> | 2024-02-13 23:10:42 -0800 |
| commit | 8c42926cb2161efac51e259a25d2047d31de3538 (patch) | |
| tree | e60c0eccc5a81aacb191702b5de24dc5108ea4e7 /src/Text/Pandoc/Writers.hs | |
| parent | ea2466724b80da6f2163d0a29def3090ca3a5618 (diff) | |
Add djot reader and writer.djot
Djot is a light markup syntax (https://djot.net).
This patch adds djot as input and output formats.
API changes:
Add Text.Pandoc.Readers.Djot
Add Text.Pandoc.Writers.Djot
Diffstat (limited to 'src/Text/Pandoc/Writers.hs')
| -rw-r--r-- | src/Text/Pandoc/Writers.hs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Text/Pandoc/Writers.hs b/src/Text/Pandoc/Writers.hs index bc0f9bb2a..9443c2003 100644 --- a/src/Text/Pandoc/Writers.hs +++ b/src/Text/Pandoc/Writers.hs @@ -30,6 +30,7 @@ module Text.Pandoc.Writers , writeConTeXt , writeCslJson , writeDZSlides + , writeDjot , writeDocBook4 , writeDocBook5 , writeDocx @@ -95,6 +96,7 @@ import Text.Pandoc.Writers.ChunkedHTML import Text.Pandoc.Writers.CommonMark import Text.Pandoc.Writers.ConTeXt import Text.Pandoc.Writers.CslJson +import Text.Pandoc.Writers.Djot import Text.Pandoc.Writers.DocBook import Text.Pandoc.Writers.Docx import Text.Pandoc.Writers.DokuWiki @@ -197,6 +199,7 @@ writers = [ ,("biblatex" , TextWriter writeBibLaTeX) ,("markua" , TextWriter writeMarkua) ,("chunkedhtml" , ByteStringWriter writeChunkedHTML) + ,("djot" , TextWriter writeDjot) ] -- | Retrieve writer, extensions based on formatSpec (format+extensions). |
