fix #2. Initialization fails with Markdown 2.5.2
This commit is contained in:
parent
53f0624c2d
commit
3c46395a23
@ -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