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.3.0.tar.gz
(4.1 kB
view hashes)
Built Distribution
Close
Hashes for mdx_embedly-0.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5055d97142d54447dcc05f52aef54fd6aae6ac19286d692212313863caffc20e |
|
MD5 | d7a97a38bba773748b59528943f88596 |
|
BLAKE2b-256 | 5f5c110633a456f0238b8779aaa78d0f51f383161cb7705531545482ee6dd21f |