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:
parent
1dceb54a01
commit
769343db0b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user