11 lines
259 B
Python
11 lines
259 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
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)
|