skip to navigation
skip to content

mdx_embedly 0.3.0

Python Markdown extension for embeded url using Embedly

A Python-Markdown extension for embeded url using Embedly .

[https://github.com/yymm/mdx_embedly:embed]

becomes

<p>
<a class="embedly-card" href="https://github.com/yymm">embed.ly</a>
<script async src="//cdn.embedly.com/widgets/platform.js"charset="UTF-8"></script>
</p>

Installation

$ pip install mdx_embedly

Usage

import markdown
# "source"
html = markdown.markdown(source, extensions=['embedly'])

Usage for Pelican

MD_EXTENSIONS = ['embedly']

In pelicanconf.py.

 
File Type Py Version Uploaded on Size
mdx_embedly-0.3.0-py2.py3-none-any.whl (md5) Python Wheel 3.5 2015-11-12 3KB
mdx_embedly-0.3.0.tar.gz (md5) Source 2015-11-12 3KB