pelican-md-metayaml/md_yaml/mdx_meta_yaml/__init__.py

11 lines
259 B
Python
Raw Normal View History

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)
elif configs is None:
configs = {}
2014-08-29 15:13:46 +00:00
return MetaYamlExtension(configs=configs)