The Pelican theme provided by m.css uses only a part of the functionality on its own, the rest is exposed by various plugins.
Each plugin is a standalone
*.py file that is meant to be downloaded and
put into a
m/ subdirectory into one of your
PLUGIN_PATHS. Then you
m.something package to your
and restart Pelican. Download the plugins below or
grab the whole Git repository:
- m.math (needs also latex2svg), m.code (needs also ansilexer)
- m.gh, m.dox, m.gl, m.abbr, m.filesize
Click on the headings below to get to know more. Note that particular plugins can have additional dependencies besides just Pelican, see documentation of each of them to see more.
m.htmlsanity plugin is essential for m.css. It makes your markup
valid HTML5, offers a few opt-in typographical improvements and enables you to
make full use of features provided by other plugins.
All CSS components are exposed by the
m.components plugin, so you can use them via reST
directives without needing to touch HTML and CSS directly.
Image-related CSS components are implemented by the
overriding builtin reST functionality and providing
a convenient automatic way to arrange photos in an image grid.
m.code plugins use external libraries for math
rendering and syntax highlighting, so they are provided as separate packages
that you can but don’t have to use. With these, math and code snippets can be
entered directly in your reST sources.
plugins make it easy for you to link to GitHub projects, issues or PRs, to
Doxygen documentation and do more useful things.
m.metadata plugin it’s possible to assign additional description
and images to authors, categories and tags. The information can then appear on
article listing page, as a badge under the article or be added to social meta