From: Vladimír Vondruš
Date: Thu, 21 Dec 2017 12:04:05 +0000 (+0100)
Subject: doc: cross-link to related Pelican plugins from CSS components page.
X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=c69d063533f0864e0ecbd29ae88e8dfb36e8e927;p=blog.git
doc: cross-link to related Pelican plugins from CSS components page.
---
diff --git a/doc/css/components.rst b/doc/css/components.rst
index 0b267c7f..4b3e254a 100644
--- a/doc/css/components.rst
+++ b/doc/css/components.rst
@@ -137,6 +137,12 @@ but the CSS class can be used on any block element.
+.. note-info::
+
+ The `Pelican Components plugin <{filename}/plugins/components.rst#blocks-notes-frame>`__
+ is able to produce blocks conveniently using :rst:`.. block-::` directives
+ in your :abbr:`reST ` markup.
+
`Badges`_
=========
@@ -167,6 +173,11 @@ Only :html:`
` is supported for a badge.
get notified when he gets a better avatar.
`:
.. note-success::
- To make your life easier, m.css provides a
- `Pelican plugin <{filename}/plugins/math-and-code.rst#code>`__ that
- integrates Pygments code highlighting as a :abbr:`reST `
- directive.
+ To make your life easier, the `Pelican Code plugin <{filename}/plugins/math-and-code.rst#code>`__
+ integrates Pygments code highlighting as a :rst:`.. code::`
+ :abbr:`reST ` directive and a :rst:`:code:` inline text
+ role.
`Colored terminal output`_
==========================
@@ -858,7 +899,7 @@ might then look similarly to this:
.. note-success::
- The Pelican plugin mentioned above is able to do
+ The Pelican Code plugin mentioned above is able to do
`colored console highlighting as well <{filename}/plugins/math-and-code.rst#colored-terminal-output>`_.
`Code figure`_
@@ -899,6 +940,12 @@ It's also possible to have matching border for a console output. Just use
:css:`.m-console-figure` instead of :css:`.m-code-figure` on the :html:``
element.
+.. note-info::
+
+ Code figures can be conveniently created with a :rst:`.. code-figure::`
+ directive in your :abbr:`reST ` markup using the
+ `Pelican Components plugin <{filename}/plugins/components.rst#code-figure>`_.
+
`Math`_
=======
@@ -1000,11 +1047,13 @@ the ``depth`` value returned on stderr can be taken as a base for the
character.
-.. note-warning::
+.. note-success::
- Producing SVG manually using command-line tools is no fun, so m.css
- provides a `Pelican plugin <{filename}/plugins/math-and-code.rst#math>`__
- that integrates LaTeX math directly into your markup. Check it out!
+ Producing SVG manually using command-line tools is no fun. That's why the
+ :rst:`.. math::` directive and :rst:`:math:` inline text role in the
+ `Pelican Math plugin <{filename}/plugins/math-and-code.rst#math>`__
+ integrates LaTeX math directly into your :abbr:`reST `
+ markup for convenient content authoring.
`Padding`_
==========
diff --git a/doc/css/typography.rst b/doc/css/typography.rst
index e501ccb0..e82b4279 100644
--- a/doc/css/typography.rst
+++ b/doc/css/typography.rst
@@ -304,6 +304,12 @@ fancy transition, use :css:`.m-transition` on a paragraph.
accumsan ante sit amet iaculis. Phasellus rhoncus hendrerit leo vitae lacinia.
Maecenas iaculis dui ex, eu interdum lacus ornare sit amet.
+.. note-info::
+
+ Transitions can be conveniently created with a :rst:`.. transition::`
+ directive in your :abbr:`reST ` markup using the
+ `Pelican Components plugin <{filename}/plugins/components.rst#transitions>`_.
+
`Preformatted blocks`_
======================