Skip to main content

Python Markdown extension for embeded url using Embedly

Project description

https://travis-ci.org/yymm/mdx_embedly.svg?branch=master https://coveralls.io/repos/yymm/mdx_embedly/badge.svg?branch=master&service=github https://img.shields.io/pypi/v/mdx_embedly.svg https://img.shields.io/pypi/pyversions/mdx_embedly.svg https://img.shields.io/badge/license-MIT-blue.svg

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.

Files for mdx_embedly, version 0.4.0
Filename, size File type Python version Upload date Hashes
Filename, size mdx_embedly-0.4.0-py2.py3-none-any.whl (4.0 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size mdx_embedly-0.4.0.tar.gz (4.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page