From 769343db0bcb5b557a4a87bcb300273f7f188585 Mon Sep 17 00:00:00 2001 From: astrodsg Date: Tue, 25 Nov 2014 09:23:07 -0700 Subject: [PATCH] pandoc reader for all markdown extensions This makes the PandocReader the default markdown reader for all markdown extensions not just "md" --- pandoc_reader.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pandoc_reader.py b/pandoc_reader.py index cade6b7..5bd1596 100644 --- a/pandoc_reader.py +++ b/pandoc_reader.py @@ -36,8 +36,8 @@ class PandocReader(BaseReader): def add_reader(readers): - readers.reader_classes['md'] = PandocReader - + for ext in PandocReader.file_extensions: + readers.reader_classes[ext] = PandocReader def register(): signals.readers_init.connect(add_reader)