Metadata-Version: 2.1
Name: pelican-embed-microblog
Version: 1.0.0
Summary: A Pelican plugin that wrapps references to twitter et al. Forked from pelican-advance-embed-tweet
Author: Fundor333, Sven Kreiss
Author-email: Chris Rose <offline@offby1.net>
License: MIT License
        
        Copyright (c) 2017 Fundor333
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
License-File: LICENSE
Keywords: blog,pelican,social networking,static site generator
Requires-Python: >=3.9
Requires-Dist: beautifulsoup4<5.0,>=4.11
Provides-Extra: dev
Requires-Dist: black; extra == 'dev'
Requires-Dist: doc2dash; extra == 'dev'
Requires-Dist: flake8; extra == 'dev'
Requires-Dist: pelican-embed-microblog[docs,tests]; extra == 'dev'
Requires-Dist: pytest-mypy; extra == 'dev'
Requires-Dist: towncrier; extra == 'dev'
Requires-Dist: twine; extra == 'dev'
Provides-Extra: docs
Requires-Dist: alabaster~=0.7; extra == 'docs'
Requires-Dist: sphinx~=4.0; extra == 'docs'
Provides-Extra: tests
Requires-Dist: coverage[toml]; extra == 'tests'
Requires-Dist: pelican; extra == 'tests'
Requires-Dist: pytest-cov; extra == 'tests'
Requires-Dist: pytest-sugar; extra == 'tests'
Requires-Dist: pytest-xdist; extra == 'tests'
Requires-Dist: pytest>=5.0; extra == 'tests'
Description-Content-Type: text/x-rst

Pelican plugin: Advance Embed Tweet
===================================

Embedding tweets into your Pelican blog posts. This repo is an advance
version of the plugin from
`lqez <https://github.com/lqez/pelican-embed-tweet>`__ which hasn't the
config for the style.

+---------+----------------------------------------+
| Author  | Fundor333                              |
+=========+========================================+
| Email   | f333@fundor333.com                     |
+---------+----------------------------------------+
| Homepage| https://www.fundor333.com              |
+---------+----------------------------------------+
| Github  | https://github.com/fundor333           |
+---------+----------------------------------------+
| Twitter | https://twitter.com/fundor333          |
+---------+----------------------------------------+

# How to use it
---------------

1. Install the plugin with ``pip install pelican_advance_embed_tweet``
2. Put ``pelican_advance_embed_tweet`` into plugin list of settings.

   -  ``PLUGINS = ['pelican_advance_embed_tweet']``

3. Add your config into the ``pelicanconf.py``

Config
------

The config implement the `Twitter
Api <https://dev.twitter.com/web/embedded-tweets/parameters>`__.

+----------+-----------------------------------------------------------------+
| **Config | **Description**                                                 |
| Label**  |                                                                 |
+==========+=================================================================+
| TWITTER\ | When set to ``hidden``, links in a Tweet are not expanded to    |
| _CARDS   | photo, video, or link previews.                                 |
+----------+-----------------------------------------------------------------+
| TWITTER\ | When set to ``none``, only the cited Tweet will be displayed    |
| _THEME   | even if it is in reply to another Tweet.                        |
+----------+-----------------------------------------------------------------+
| TWITTER\ | When set to ``dark``, displays Tweet with light text over a     |
| _CONVERS | dark background.                                                |
| ATION    |                                                                 |
+----------+-----------------------------------------------------------------+
| TWITTER\ | Adjust the color of Tweet links with a hexadecimal color value. |
| _LINK\_C |                                                                 |
| OLOR     |                                                                 |
+----------+-----------------------------------------------------------------+
| TWITTER\ | The maximum width of the rendered Tweet in whole pixels. This   |
| _WIDTH   | value should be between 250 and 550 pixels.                     |
+----------+-----------------------------------------------------------------+
| TWITTER\ | Float the Tweet ``left``, ``right``, or ``center`` relative to  |
| _ALIGN   | its container. Typically set to allow text or other content to  |
|          | wrap around the Tweet.                                          |
+----------+-----------------------------------------------------------------+
| TWITTER\ | A supported Twitter language code. Loads text components in the |
| _LANG    | specified language. Note: does not affect the text of the cited |
|          | Tweet.                                                          |
+----------+-----------------------------------------------------------------+
| TWITTER\ | When set to true, the Tweet and its embedded page on your site  |
| _DNT     | are not used for purposes that include personalized suggestions |
|          | and personalized ads.                                           |
+----------+-----------------------------------------------------------------+
