Python Markdown extension for embeded url using Embedly
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
tests
.gitignore
.travis.yml
LICENSE
MANIFEST.in
README.rst
mdx_embedly.py
setup.cfg
setup.py
tox.ini

README.rst

Embedly Extension for Python-Markdown

https://travis-ci.org/yymm/mdx_embedly.svg?branch=master https://coveralls.io/repos/yymm/mdx_embedly/badge.svg?branch=master&service=github

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.