Skip to content

Commit

Permalink
Add Muse reader (#3620)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Krotov authored and jgm committed Jun 19, 2017
1 parent 10e3ce3 commit a91b9b2
Show file tree
Hide file tree
Showing 6 changed files with 849 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pandoc.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ Library
Text.Pandoc.Readers.Docx,
Text.Pandoc.Readers.Odt,
Text.Pandoc.Readers.EPUB,
Text.Pandoc.Readers.Muse,
Text.Pandoc.Writers,
Text.Pandoc.Writers.Native,
Text.Pandoc.Writers.Docbook,
Expand Down Expand Up @@ -559,6 +560,7 @@ Test-Suite test-pandoc
Tests.Readers.Odt
Tests.Readers.Txt2Tags
Tests.Readers.EPUB
Tests.Readers.Muse
Tests.Writers.Native
Tests.Writers.ConTeXt
Tests.Writers.Docbook
Expand Down
3 changes: 3 additions & 0 deletions src/Text/Pandoc/Readers.hs
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ module Text.Pandoc.Readers
, readTWiki
, readTxt2Tags
, readEPUB
, readMuse
-- * Miscellaneous
, getReader
, getDefaultExtensions
Expand All @@ -81,6 +82,7 @@ import Text.Pandoc.Readers.HTML
import Text.Pandoc.Readers.LaTeX
import Text.Pandoc.Readers.Markdown
import Text.Pandoc.Readers.MediaWiki
import Text.Pandoc.Readers.Muse
import Text.Pandoc.Readers.Native
import Text.Pandoc.Readers.Odt
import Text.Pandoc.Readers.OPML
Expand Down Expand Up @@ -125,6 +127,7 @@ readers = [ ("native" , TextReader readNative)
,("odt" , ByteStringReader readOdt)
,("t2t" , TextReader readTxt2Tags)
,("epub" , ByteStringReader readEPUB)
,("muse" , TextReader readMuse)
]

-- | Retrieve reader based on formatSpec (format+extensions).
Expand Down
Loading

0 comments on commit a91b9b2

Please sign in to comment.