aboutsummaryrefslogtreecommitdiff
path: root/FormatOpts.hs
diff options
context:
space:
mode:
Diffstat (limited to 'FormatOpts.hs')
-rw-r--r--FormatOpts.hs9
1 files changed, 6 insertions, 3 deletions
diff --git a/FormatOpts.hs b/FormatOpts.hs
index dcdb4c2..48ab219 100644
--- a/FormatOpts.hs
+++ b/FormatOpts.hs
@@ -8,9 +8,12 @@ import Text.Pandoc.Options
markdownReadOpts =
def
{ readerExtensions =
- Text.Pandoc.Extensions.enableExtension
- Text.Pandoc.Extensions.Ext_smart
- Text.Pandoc.Extensions.pandocExtensions
+ Text.Pandoc.Extensions.extensionsFromList $
+ Text.Pandoc.Extensions.extensionsToList
+ Text.Pandoc.Extensions.pandocExtensions ++
+ [ Text.Pandoc.Extensions.Ext_smart
+ , Ext_lists_without_preceding_blankline
+ ]
}
-- | Default HTML writing options for Pandoc.