暂无描述

Jinghao Shi 00374fb617 add category_order plugin 8 年之前
always_modified f8828bf0e1 Fix formatting in always_modified ReadMe 9 年之前
asciidoc_reader 1adddd4682 Fix parsing of AsciiDoc attribute values by converting to unicode. 8 年之前
assets 7937fa62c8 Merge pull request #388 from robclancy/patch-1 9 年之前
autopages 9de9c987b6 support pages for categories and tags, too 9 年之前
backreftranslate @ 19727da1fc 52e8a8b3f0 Adding Backref Translate plugin 8 年之前
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 a1bf5aaf38 Add exception for inline encoded images. 8 年之前
better_tables 21edf69157 Add better-tables pelican plugin - for restoring sanity to tables 8 年之前
bootstrapify @ bc4e0a1bf2 085f727e7f fix bootstrapify 9 年之前
category_meta 8c31196d90 Only apply workaround for issue 1547 if core exhibits the bug. 9 年之前
category_order @ 0f1a86e566 00374fb617 add category_order plugin 8 年之前
cjk-auto-spacing @ 92346597b8 3f47cbd468 add cjk-auto-spacing as submodule 10 年之前
clean_summary 246fd05d44 Have relevant plugins use all_generators_finalized signal 8 年之前
code_include 350cb27017 Python3 compatibility for code_include 8 年之前
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 eeb79b8376 Have Dateish support multiple dates per field 9 年之前
disqus_static 0ab01b2994 fix invalid name for __init__.py & add unicode_literals import 9 年之前
encrypt-content @ aafaf57f87 32576b4ef8 Add Encrypt Content plugin as submodule 8 年之前
events 9aac5bc39d First commit. 9 年之前
extract_toc b1da3f1093 Fix and improve extract_toc support for Pandoc reader. 8 年之前
feed_summary 6f125570b3 Fix feed_summary plugin for python3. 9 年之前
figure-ref @ adbb4fc00c d4b9afec27 Added my new figure-ref, pdf-img, and pelican-cite plugins as submodules. Updated README accordingly. 8 年之前
filetime_from_git 599b4690bc Fixed usage of `iter_commits` in `git-wrapper.py` 9 年之前
footer_insert 744aab3437 update README. 9 年之前
gallery 7c0c67998b Implemented gallery also for static pages 9 年之前
gist_directive 84fbe7ca22 Add gist directive plugin. 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 afd6743319 Use https instead http to get secure resources content in blog over https 8 年之前
gzip_cache 2516c7770a Adjust rules for what gets compressed by `gzip_cache`. 9 年之前
headerid b2fa769535 Add config option to choose the anchor target. 8 年之前
html_entity 1250a08f76 Create html_entity plugin 10 年之前
html_rst_directive 9e70c17839 import plugins from core and restructure repo 11 年之前
i18n_subsites 03da9b5d7e record hidden content in native lang, fixes #409 9 年之前
ical 768e02b2d5 Update signal names for Pelican 3.2+ 10 年之前
image_process @ 75a47295ab 70e075e373 New release of image_process: 9 年之前
interlinks 8fc2e0ebf9 [interlinks] support img src attr too 9 年之前
libravatar a09f5c6207 libravatar: Encode email address before hashing 9 年之前
liquid_tags 36b34f5fce MAINT: add warning for IPython versions greater than 1.x 8 年之前
loadcsv @ 54b191c08a 9fe00d27ee Add loadcsv plugin as submodule 8 年之前
md-metayaml @ 7ee32eaa38 8a0d6d8041 Rename pelican-md-yaml plugin to md-metayaml 8 年之前
md_inline_extension de551a93c2 Updated documentation and fixed a bug 9 年之前
multi_neighbors @ 1ce0526863 0eaa0ce998 Update Multi Neighbors to latest. 9 年之前
multi_part 62e09d3648 The multi_part plugin has been set as deprecated 9 年之前
multimarkdown_reader @ a2cadad5c1 41c18217b9 Added multimarkdown_reader as a submodule. 9 年之前
neighbors f2aeed121b fixed conditionals in usage example 9 年之前
optimize_images bcc51dc42c Proper logging in optimize_images 11 年之前
org_pandoc_reader @ 4562d18e1d 2d1f92c6c2 Add org_pandoc_reader submodule 8 年之前
org_reader 631420fde2 ENH: read author from org file metadata 8 年之前
pandoc_reader @ 9ef0197eed 69cbce296f update of pandoc_reader: 9 年之前
panorama @ 5e13c69b28 b915deb7e4 Panorama v0.1 submodule 9 年之前
pdf b1f33df20d Issue #1009: Moved PdfGenerator to pelican-plugins and added a basic test 10 年之前
pdf-img @ 4cb4ed8da3 d4b9afec27 Added my new figure-ref, pdf-img, and pelican-cite plugins as submodules. Updated README accordingly. 8 年之前
pelican-cite @ b2f7e2c9e5 d4b9afec27 Added my new figure-ref, pdf-img, and pelican-cite plugins as submodules. Updated README accordingly. 8 年之前
pelican-flickr @ e1b6dddf2c c9b45f059a Add pelican-flickr plugin. 10 年之前
pelican-genealogy @ 99a76a57c6 1a0ed58cd1 Add pelican-genealogy plugin as submodule 9 年之前
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-open_graph @ 9be23fda58 7204e865ff Adding pelican-open_graph plugin, which adds Open Graph tags to articles. 9 年之前
pelican-page-hierarchy @ f11b533a50 ba1622daed Add pelican-page-hierarchy plugin 9 年之前
pelican-page-order @ 1e3ee850b8 91cba72fa5 Add pelican-page-order plugin 9 年之前
pelican-toc @ f4092825dc 07edbb2a7c add toc plugin 9 年之前
pelican_comment_system 605672c45e Add commas indicating tuple to example 8 年之前
pelican_javascript @ ee02ad94d9 dc5f5646b9 added pelican_javascript plugin 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 年之前
photos dcddfd0e3b try except 8 年之前
pin_to_top @ 4c022ecbd9 782a2eaf04 added new submodule pin_to_top 10 年之前
plantuml a19f7f49f2 added plantuml_rst plugin 10 年之前
post_stats 873c525b46 Always specify parser for Beautiful Soup; fixes extraneous tags 8 年之前
random_article 9e70c17839 import plugins from core and restructure repo 11 年之前
read_more_link 246fd05d44 Have relevant plugins use all_generators_finalized signal 8 年之前
related_posts ab63994cf9 Add related_posts option RELATED_POSTS_SKIP_SAME_CATEGORY 9 年之前
render_math 025f419ee7 Ability to hide mathjax message and render math in translations 8 年之前
replacer @ f123acbd70 4c6f83a964 Re-add Replacer plugin as submodule. Refs #444. 9 年之前
representative_image 246fd05d44 Have relevant plugins use all_generators_finalized signal 8 年之前
rmd_reader 108d66b57a Using self.settings with MarkdownReader 9 年之前
series 15fad7c8c4 Fixed typo 9 年之前
share_post a71eb53167 Revert "share_post: Don't read summary as it's not used anywhere" 8 年之前
simple_footnotes 37ae0b208f simple_footnotes now modifies drafts in addition to articles 8 年之前
sitemap 871c3bec7f Sitemap: exclude URL patterns via regex 8 年之前
slim 873c525b46 Always specify parser for Beautiful Soup; fixes extraneous tags 8 年之前
static_comments 8052ea9f9e add static_comments plugin 10 年之前
sub_parts 1568d941da Fix typo. 9 年之前
subcategory 3bf1ac5e98 Fixed missing quote mark in an HTML example 10 年之前
summary b8698aba73 Add Missing PagesGenerator in summary Plugin 8 年之前
tag_cloud edfd3365af break out tag_cloud from core into plugin 9 年之前
test_data 31ccbde072 teach plugins with dependencies to behave 11 年之前
textile_reader 57b42a2af7 Add textile_reader plugin 9 年之前
thumbnailer c780450f99 pass correct arguments to _resizer 8 年之前
tipue_search 017caabd07 Merge pull request #574 from trovao/master 8 年之前
touch 568c346684 Update timestamps of generated feeds as well 9 年之前
twitter_bootstrap_rst_directives 623a512d4c Update bootstrap_rst_directives.py 9 年之前
txt2tags_reader 211795e203 Added a txt2tags reader plugin. 9 年之前
video_privacy_enhancer 84a5d61ccc Updated documentation. 8 年之前
w3c_validate 37384bd777 adds instruction to w3c_validate 9 年之前
.gitignore 87f81ab4f5 add ~ files to gitignore 11 年之前
.gitmodules 00374fb617 add category_order plugin 8 年之前
.travis.yml 31ccbde072 teach plugins with dependencies to behave 11 年之前
Contributing.rst c85fbb7254 Work around reST's unintuitive syntax 9 年之前
LICENSE b83ce37a2a Also update the LICENSE file 11 年之前
Readme.rst 00374fb617 add category_order plugin 8 年之前
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 --recursive 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
======================== ===========================================================
Always modified Copy created date metadata into modified date for easy "latest updates" indexes

AsciiDoc reader Use AsciiDoc to write your posts.

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

Auto Pages Generate custom content for generated Author, Category, and Tag pages (e.g. author biography)

Backref Translate Add a new attribute (``is_translation_of``) to every article/page (which is a translation) pointing back to the original article/page which is being translated

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

Category Order Order categories (and tags) by the number of articles in that category (or tag).

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

Encrypt content Password protect pages and articles

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

Figure References Provides a system to number and references figures

Gallery Allows an article to contain an album of pictures

Gist directive This plugin adds a ``gist`` reStructuredText directive.

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

Headerid This plugin adds an anchor to each heading so you can deeplink to headers in reStructuredText articles.

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.

Image Process Automates the processing of images based on their class attributes

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

Libravatar Allows inclusion of user profile pictures from libravatar.org

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

Load CSV Adds ``csv`` Jinja tag to display the contents of a CSV file as an HTML table

Multi parts posts Allows you to write multi-part posts

Markdown Inline Extend Enables you to add customize inline patterns to your markdown

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

Open graph Generates Open Graph tags for your articles

Optimize images Applies lossless compression on JPEG and PNG images

PDF generator Automatically exports RST articles and pages as PDF files

PDF Images If an img tag contains a PDF, EPS or PS file as a source, this plugin generates a PNG preview which will then act as a link to the original file.

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

pelican_javascript Allows you to embed Javascript and CSS files into individual articles

pelican-toc Generates a Table of Contents and make it available to the theme via article.toc

Pelican Cite Produces inline citations and a bibliography in articles and pages, using a BibTeX file.

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

Markdown-metaYAML Pelican reader to enable YAML-style metadata in markdown articles

Math Render Gives pelican the ability to render mathematics

Panorama Creates charts from posts metadata

Replacer Replace a text of a generated HTML

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

RMD Reader Create posts via knitr RMarkdown files

Share post Creates share URLs of article

Simple footnotes Adds footnotes to blog posts

Sitemap Generates plain-text or XML sitemaps

Slim Render theme template files via Plim, a Python port of Slim, instead of Jinja

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

tag_cloud Provides a tag_cloud

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