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.1.0.tar.gz
(2.2 kB
view hashes)
Built Distribution
Close
Hashes for mdx_embedly-0.1.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 35b54882205eb6ce4c9b4bfce75a8a5f8dc008e246cf79c8563b6b5bb268f4f7 |
|
MD5 | 49defb914f6a7905a170502ad93c153a |
|
BLAKE2b-256 | 21b8c553c9e4c08f8b90f93eadba3efacdb7a4e6c45b4cf5f7af2a84b9344594 |