pelican-md-metayaml/md_yaml/mdx_meta_yaml/__init__.py
2015-01-29 00:23:45 +00:00

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)