python-markdown-oembed/mdx_oembed/__init__.py

12 lines
238 B
Python
Raw Normal View History

2012-11-13 21:28:10 +00:00
# -*- coding: utf-8 -*-
from mdx_oembed.extension import OEmbedExtension
2014-07-23 21:02:57 +00:00
VERSION = '0.1.4'
2014-07-22 22:20:21 +00:00
2012-11-13 21:28:10 +00:00
def makeExtension(configs=None):
if isinstance(configs, list):
configs = dict(configs)
2012-11-13 21:28:10 +00:00
return OEmbedExtension(configs=configs)