summaryrefslogtreecommitdiff
path: root/pandoc.hs
diff options
context:
space:
mode:
authorJohn MacFarlane <fiddlosopher@gmail.com>2013-03-17 17:43:51 -0700
committerJohn MacFarlane <fiddlosopher@gmail.com>2013-03-19 20:22:14 -0700
commit74d53f4347623631c17be557d3682dd807214263 (patch)
treea2215a0499b465ac057b2a89ae57d450e609db0d /pandoc.hs
parentb3661adadae5eecc21e97b206d222c89d443dfda (diff)
Added Text.Pandoc.Readers.OPML, exporting readOPML.
The _note attribute is supported. This is unofficial, but used e.g. in OmniOutliner and supported by multimarkdown. We treat the contents as markdown blocks under a section header. Added to documentation and tests.
Diffstat (limited to 'pandoc.hs')
-rw-r--r--pandoc.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/pandoc.hs b/pandoc.hs
index de132b0c8..8433460b3 100644
--- a/pandoc.hs
+++ b/pandoc.hs
@@ -758,6 +758,7 @@ defaultReaderName fallback (x:xs) =
".rst" -> "rst"
".lhs" -> "markdown+lhs"
".db" -> "docbook"
+ ".opml" -> "opml"
".wiki" -> "mediawiki"
".textile" -> "textile"
".native" -> "native"