Python Markdown extension for embeded url using Embedly
Project description
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mdx_embedly-0.2.0.tar.gz
(2.8 kB
view hashes)
Built Distribution
Close
Hashes for mdx_embedly-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 078248c7965984ebef907f796b626be1d9a4f3991292d430b5e64808f7db4ba4 |
|
MD5 | 0f0148ed1b9366f3bd5146e3ab3eb685 |
|
BLAKE2b-256 | 053705f9f0ca9d4874c89f372e6295f6151ebc550f8c9557106f1f6b4fac847f |