Merge pull request #3 from aplatanado/master
fix #2. Initialization fails with Markdown 2.5.2
This commit is contained in:
commit
0728c589ad
@ -5,4 +5,6 @@ from mdx_meta_yaml.extension import MetaYamlExtension
|
||||
def makeExtension(configs=None):
|
||||
if isinstance(configs, list):
|
||||
configs = dict(configs)
|
||||
elif configs is None:
|
||||
configs = {}
|
||||
return MetaYamlExtension(configs=configs)
|
||||
|
Loading…
Reference in New Issue
Block a user