暫無描述

Leonardo Giordani 62e09d3648 The multi_part plugin has been set as deprecated 9 年之前
asciidoc_reader fc3a4d8993 import AsciiDocReader from core as a plugin 10 年之前
assets f5d0f4ecb9 Remove gzip references in Assets plugin README 10 年之前
better_code_samples @ 91717a204b 6ceaf91a0f Added the better_code_samples plugin. 10 年之前
better_codeblock_line_numbering 18889d23bc Added files for new Codeblock Line Numbering Pelican plugin. 9 年之前
better_figures_and_images abd850a76f Correct list and code samples formatting 9 年之前
bootstrapify @ bc4e0a1bf2 085f727e7f fix bootstrapify 9 年之前
cjk-auto-spacing @ 92346597b8 3f47cbd468 add cjk-auto-spacing as submodule 10 年之前
clean_summary b86be87c61 fixed typos in README 10 年之前
code_include 95600f17b7 Removed docstrings to avoid doc duplication. 11 年之前
collate_content 3308025053 Added collate_content plugin. 10 年之前
creole_reader 3a804aec12 Creole reader: add source code highlighting support. 10 年之前
custom_article_urls 3f75d36a91 generating the temp_article now uses empty string rather than None 9 年之前
dateish cdc5ea6d43 Add Dateish plugin 9 年之前
disqus_static 0ab01b2994 fix invalid name for __init__.py & add unicode_literals import 9 年之前
extract_toc 7fbbe6906a [extract_toc] Add Pandoc support and improve documentation. 9 年之前
feed_summary 6f125570b3 Fix feed_summary plugin for python3. 9 年之前
filetime_from_git 26edaecd29 Generate locale_date and locale_modified and rename update to modified 9 年之前
footer_insert 744aab3437 update README. 9 年之前
gallery 7c0c67998b Implemented gallery also for static pages 9 年之前
github_activity b35996ca43 Allow for an optional maximum number of entries to display. 10 年之前
global_license d3495d0249 Update article_generate_context to article_generator_context 10 年之前
goodreads_activity d3495d0249 Update article_generate_context to article_generator_context 10 年之前
googleplus_comments 13a8ea5d5f first implementation of google plus comments 10 年之前
gravatar d47fdc1ea5 adding markdown specific instructions to gravatar readme 10 年之前
gzip_cache 42b4190041 Merge pull request #298 from jkrshw/feature/gzip-overwrite 9 年之前
html_entity 1250a08f76 Create html_entity plugin 10 年之前
html_rst_directive 9e70c17839 import plugins from core and restructure repo 11 年之前
i18n_subsites 6f7dafaee6 i18n_subsites: add lang_subsites template var, improve docs 10 年之前
ical 768e02b2d5 Update signal names for Pelican 3.2+ 10 年之前
interlinks 3df48a1b77 Improve summary of interlinks plugin 10 年之前
liquid_tags 65329013b4 Added python3 support to img and b64img tags 9 年之前
multi_neighbors @ 1ce0526863 0eaa0ce998 Update Multi Neighbors to latest. 9 年之前
multi_part 62e09d3648 The multi_part plugin has been set as deprecated 9 年之前
neighbors f2aeed121b fixed conditionals in usage example 9 年之前
optimize_images bcc51dc42c Proper logging in optimize_images 11 年之前
pandoc_reader @ b3c968fa23 2bc58702e2 added pandoc_reader (pandoc markdown reader plugin) as submodule 9 年之前
pdf b1f33df20d Issue #1009: Moved PdfGenerator to pelican-plugins and added a basic test 10 年之前
pelican-flickr @ e1b6dddf2c c9b45f059a Add pelican-flickr plugin. 10 年之前
pelican-gist @ 4cce3dad9e b2797b58e6 add pelican-gist plugin 10 年之前
pelican-githubprojects @ f55b497dcc a49de416bd Added githubprojects plugins 9 年之前
pelican-jinja2content @ 9adc69f786 0818059f7f Two new plugins: pelican-jinja2content and pelican-md-yaml 9 年之前
pelican-langcategory @ 94fc0bc298 cbe8263153 added pelican-langcategory plugin 9 年之前
pelican-md-yaml @ 22712fc787 0818059f7f Two new plugins: pelican-jinja2content and pelican-md-yaml 9 年之前
pelican-page-hierarchy @ f11b533a50 ba1622daed Add pelican-page-hierarchy plugin 9 年之前
pelican-page-order @ 1e3ee850b8 91cba72fa5 Add pelican-page-order plugin 9 年之前
pelican_comment_system cec12be893 Merge pull request #250 from clokep/fix-avatars 9 年之前
pelican_vimeo @ d18f1ddfe9 1f2c383b7e Added YouTube and Vimeo plugins 10 年之前
pelican_youtube @ 045c43dd4d 1f2c383b7e Added YouTube and Vimeo plugins 10 年之前
pelicanfly @ 265865f693 2bc7da5ea4 Add pelicanfly plugin 10 年之前
pelicanthemes-generator @ 916f5a570f eff1a9bf00 Merged by hand because of severe conflicts. Closes #158 9 年之前
pin_to_top @ 4c022ecbd9 782a2eaf04 added new submodule pin_to_top 10 年之前
plantuml a19f7f49f2 added plantuml_rst plugin 10 年之前
post_stats 855f87300a [post_stats] Python 3 compatibility 10 年之前
random_article 9e70c17839 import plugins from core and restructure repo 11 年之前
read_more_link 30638d8ac4 Update Readme.md 10 年之前
related_posts b268db7312 Clarify documentation of related_posts plugin 10 年之前
render_math 85a51f6b81 Corrected documentation, and also fixed bug where using unicode strings would not get recognized (thanks to TheNeuralBit) 9 年之前
representative_image 17efcb10d3 Update readme to clarify behaviour of plugin and specifying a custom image 10 年之前
rmd_reader d19bcf29c1 Update Readme.md 9 年之前
series 62e09d3648 The multi_part plugin has been set as deprecated 9 年之前
share_post 9a9f9bdb83 Add plugin to add share URLs to article 10 年之前
simple_footnotes c85ea081c0 Simple Footnotes plugin. Add footnotes to your text by enclosing them in [ref] and [/ref]. 10 年之前
sitemap a3127d6599 FIX: Sitemap offset-naive datetimes(modified) error 9 年之前
sort_tags @ a3413a417e 5714f1d470 fix sort_tags 9 年之前
static_comments 8052ea9f9e add static_comments plugin 10 年之前
subcategory 3bf1ac5e98 Fixed missing quote mark in an HTML example 10 年之前
summary c7146c9bd8 Added example for summary markers in reST documents 10 年之前
test_data 31ccbde072 teach plugins with dependencies to behave 11 年之前
thumbnailer 549f84cf45 format inline code blocks 9 年之前
tipue_search b4963c93af Merge pull request #247 from arty-name/no-ensure-ascii 9 年之前
touch 568c346684 Update timestamps of generated feeds as well 9 年之前
twitter_bootstrap_rst_directives 623a512d4c Update bootstrap_rst_directives.py 9 年之前
video_privacy_enhancer 94187ae062 Added files for new Video Privacy Enhancer Pelican plugin. 9 年之前
w3c_validate a4df915490 Minor improvements to W3C Validator plugin README 11 年之前
.gitignore 87f81ab4f5 add ~ files to gitignore 11 年之前
.gitmodules 0818059f7f Two new plugins: pelican-jinja2content and pelican-md-yaml 9 年之前
.travis.yml 31ccbde072 teach plugins with dependencies to behave 11 年之前
Contributing.rst 850db33263 Don't enforce the licence to be AGPL. 11 年之前
LICENSE b83ce37a2a Also update the LICENSE file 11 年之前
Readme.rst 680c41c95c update readme to contain sort_tags and bootstrapify 9 年之前
latex 5af9d08c06 moved latex to render_math; latex now symbolic link 10 年之前

Readme.rst

Pelican Plugins
###############

Beginning with version 3.0, Pelican supports plugins. Plugins are a way to add
features to Pelican without having to directly modify the Pelican core. Starting
with 3.2, all plugins (including the ones previously in the core) are
moved here, so this is the central place for all plugins.

How to use plugins
==================

Easiest way to install and use these plugins is cloning this repo::

git clone https://github.com/getpelican/pelican-plugins

and activating the ones you want in your settings file::

PLUGIN_PATHS = ['path/to/pelican-plugins']
PLUGINS = ['assets', 'sitemap', 'gravatar']

``PLUGIN_PATHS`` can be a path relative to your settings file or an absolute path.

Alternatively, if plugins are in an importable path, you can omit ``PLUGIN_PATHS``
and list them::

PLUGINS = ['assets', 'sitemap', 'gravatar']

or you can ``import`` the plugin directly and give that::

import my_plugin
PLUGINS = [my_plugin, 'assets']

Plugin descriptions
===================

======================== ===========================================================
Plugin Description
======================== ===========================================================
AsciiDoc reader Use AsciiDoc to write your posts.

Asset management Use the Webassets module to manage assets such as CSS and JS files.

Better code samples Wraps all `table` blocks with a class attribute `.codehilitetable` in an additional `div` of class `.hilitewrapper`. It thus permits to style codeblocks better, especially to make them scrollable.

Better figures/samples Adds a `style="width: ???px; height: auto;"` attribute to any `` tags in the content

bootstrapify Automatically add bootstraps default classes to your content, usefull for md generated tables

CJK auto spacing Inserts spaces between Chinese/Japanese/Korean characters and English words

Clean summary Cleans your summary of excess images

Code include Includes Pygments highlighted code in reStructuredText

Collate content Makes categories of content available to the template as lists through a `collations` attribute

Creole reader Allows you to write your posts using the wikicreole syntax

Custom article URLs Adds support for defining different default URLs for different categories

Disqus static comments Adds a disqus_comments property to all articles. Comments are fetched at generation time using disqus API

Extract table of content Extracts table of contents (ToC) from `article.content`

Feed Summary Allows article summaries to be used in ATOM and RSS feeds instead of the entire article

Filetime from git Uses git commit to determine page date

Gallery Allows an article to contain an album of pictures

GitHub activity On the template side, you just have to iterate over the ``github_activity`` variable

Global license Allows you to define a ``LICENSE`` setting and adds the contents of that license variable to the article's context

Goodreads activity Lists books from your Goodreads shelves

GooglePlus comments Adds GooglePlus comments to Pelican

Gravatar Assigns the ``author_gravatar`` variable to the Gravatar URL and makes the variable available within the article's context

Gzip cache Enables certain web servers (e.g., Nginx) to use a static cache of gzip-compressed files to prevent the server from compressing files during an HTTP call

HTML entities Allows you to enter HTML entities such as ©, <, • inline in a RST document

HTML tags for rST Allows you to use HTML tags from within reST documents

I18N Sub-sites Extends the translations functionality by creating internationalized sub-sites for the default site

ical Looks for and parses an ``.ics`` file if it is defined in a given page's ``calendar`` metadata.

Interlinks Lets you add frequently used URLs to your markup using short keywords

Liquid-style tags Allows liquid-style tags to be inserted into markdown within Pelican documents

Multi parts posts Allows you to write multi-part posts

Neighbor articles Adds ``next_article`` (newer) and ``prev_article`` (older) variables to the article's context

Optimize images Applies lossless compression on JPEG and PNG images

PDF generator Automatically exports RST articles and pages as PDF files

Pelican-flickr Brings your Flickr photos & sets into your static website

Pelican Gist tag Easily embed GitHub Gists in your Pelican articles

Pelican Page Order Adds a ``page_order`` attribute to all pages if one is not defined.

Pelican comment system Allows you to add static comments to your articles

Pelican Vimeo Enables you to embed Vimeo videos in your pages and articles

Pelican YouTube Enables you to embed YouTube videos in your pages and articles

pelicanfly Lets you type things like `i ♥ :fa-coffee:` in your Markdown documents and have it come out as little Font Awesome icons in the browser

Pin to top Pin Pelican's article(s) to top "Sticky article"

PlantUML Allows you to define UML diagrams directly into rst documents using the great PlantUML tool

Post statistics Calculates various statistics about a post and store them in an article.stats dictionary

Random article Generates a html file which redirect to a random article

Read More link Inserts an inline "read more" or "continue" link into the last html element of the object summary

Related posts Adds the ``related_posts`` variable to the article's context

Math Render Gives pelican the ability to render mathematics

Representative image Extracts a representative image (i.e, featured image) from the article's summary or content

Share post Creates share URLs of article

Simple footnotes Adds footnotes to blog posts

Sitemap Generates plain-text or XML sitemaps

sort_tags Provides `tags_sorted_by_article_length` to templates, which contains all tags, sorted by how many articles it contains first, and alphabetically second.

Static comments Allows you to add static comments to an article

Subcategory Adds support for subcategories

Summary Allows easy, variable length summaries directly embedded into the body of your articles

Thumbnailer Creates thumbnails for all of the images found under a specific directory

Tipue Search Serializes generated HTML to JSON that can be used by jQuery plugin - Tipue Search

Touch Does a touch on your generated files using the date metadata from the content

Twitter Bootstrap Defines some rst directive that enable a clean usage of the twitter bootstrap CSS and Javascript components

W3C validate Submits generated HTML content to the W3C Markup Validation Service
======================== ===========================================================


Please refer to the ``Readme`` file in a plugin's folder for detailed information about
that plugin.

Contributing a plugin
=====================

Please refer to the `Contributing`_ file.

.. _Contributing: Contributing.rst