pandoc reader for all markdown extensions

This makes the PandocReader the default markdown reader for all markdown extensions not just "md"
This commit is contained in:
astrodsg 2014-11-25 09:23:07 -07:00
parent 1dceb54a01
commit 769343db0b

View File

@ -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)