An open API service indexing awesome lists of open source software.

https://github.com/euri10/python-pelican_embedly

Use embed.ly cards in Pelican log
https://github.com/euri10/python-pelican_embedly

embedly pelican-plugins

Last synced: 9 months ago
JSON representation

Use embed.ly cards in Pelican log

Awesome Lists containing this project

README

          

========
Overview
========

.. start-badges

.. list-table::
:stub-columns: 1

* - docs
- |docs|
* - tests
- | |travis| |appveyor| |requires|
| |codecov|
* - package
- | |version| |wheel| |supported-versions| |supported-implementations|

.. |version| image:: https://img.shields.io/pypi/v/python-pelican_embedly.svg
:alt: PyPI Package latest release
:target: https://pypi.python.org/pypi/pelican_embedly

.. |docs| image:: https://readthedocs.org/projects/python-pelican_embedly/badge/?style=flat
:target: https://readthedocs.org/projects/python-pelican_embedly
:alt: Documentation Status

.. |travis| image:: https://travis-ci.org/euri10/python-pelican_embedly.svg?branch=master
:alt: Travis-CI Build Status
:target: https://travis-ci.org/euri10/python-pelican_embedly

.. |appveyor| image:: https://ci.appveyor.com/api/projects/status/github/euri10/python-pelican_embedly?branch=master&svg=true
:alt: AppVeyor Build Status
:target: https://ci.appveyor.com/project/euri10/python-pelican_embedly

.. |requires| image:: https://requires.io/github/euri10/python-pelican_embedly/requirements.svg?branch=master
:alt: Requirements Status
:target: https://requires.io/github/euri10/python-pelican_embedly/requirements/?branch=master

.. |codecov| image:: https://codecov.io/github/euri10/python-pelican_embedly/coverage.svg?branch=master
:alt: Coverage Status
:target: https://codecov.io/github/euri10/python-pelican_embedly

.. |version| image:: https://img.shields.io/pypi/v/pelican-embedly.svg
:alt: PyPI Package latest release
:target: https://pypi.python.org/pypi/pelican-embedly

.. |wheel| image:: https://img.shields.io/pypi/wheel/pelican-embedly.svg
:alt: PyPI Wheel
:target: https://pypi.python.org/pypi/pelican-embedly

.. |supported-versions| image:: https://img.shields.io/pypi/pyversions/pelican-embedly.svg
:alt: Supported versions
:target: https://pypi.python.org/pypi/pelican-embedly

.. |supported-implementations| image:: https://img.shields.io/pypi/implementation/pelican-embedly.svg
:alt: Supported implementations
:target: https://pypi.python.org/pypi/pelican-embedly

.. end-badges

embed.ly cards for Pelican blog, version 0.2.0

from the excellent work of https://github.com/josh146/embedly_cards, I just added some options and tests but the layout
comes from there.

* Free software: BSD license

Installation
============

::

pip install pelican-embedly

Usage
=====

Create a card with the `.. embedly-card::` directive.
Options to further customize the card mimics those described in their documentation [#embedlydoc]_
All you have to do is to use the directove and the keywords in their docs minus the `data-card-` prefix
For instance should you want to use a card with a dark theme aligned to the right, use it this way:

.. code::

.. embedly-card::
:align: right
:theme: dark

.. [#embedlydoc] http://docs.embed.ly/v1.0/docs/cards

Documentation
=============

https://python-pelican_embedly.readthedocs.io/

Development
===========

To run the all tests run::

tox