2014-08-29 15:13:46 +00:00
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
from mdx_meta_yaml.extension import MetaYamlExtension
|
|
|
|
|
|
|
|
def makeExtension(configs=None):
|
|
|
|
if isinstance(configs, list):
|
|
|
|
configs = dict(configs)
|
2015-01-29 00:23:45 +00:00
|
|
|
elif configs is None:
|
|
|
|
configs = {}
|
2014-08-29 15:13:46 +00:00
|
|
|
return MetaYamlExtension(configs=configs)
|