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.4.0.tar.gz
(4.1 kB
view details)
Built Distribution
File details
Details for the file mdx_embedly-0.4.0.tar.gz
.
File metadata
- Download URL: mdx_embedly-0.4.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fdf3ba7fb45c7e1ecba104e6d0506abf5b19eb60dd4a25fa47f9ef460c758b5 |
|
MD5 | e55a9a873280c3b457e17404581180f4 |
|
BLAKE2b-256 | 87186a6e09970e716d8644151ba99c51139bf524afc7195423d76f0c8d8ad743 |
File details
Details for the file mdx_embedly-0.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: mdx_embedly-0.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 4.0 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7a91ad2a2bee1c6de879a7ba56333461fbc449dbb656c12efdeb06d15273708 |
|
MD5 | d0bdaf3e6de4769ea24f1b6e76f748c5 |
|
BLAKE2b-256 | e984326e75e0cb6346e9f44a21fc005b8702ad0092fd1994bde7747b3b10a171 |