chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6166bf
)
doc: mention the :filters: option earlier.
author
Vladimír Vondruš
<mosra@centrum.cz>
Thu, 14 May 2020 10:47:41 +0000
(12:47 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Thu, 14 May 2020 12:14:44 +0000
(14:14 +0200)
doc/plugins/math-and-code.rst
patch
|
blob
|
history
diff --git
a/doc/plugins/math-and-code.rst
b/doc/plugins/math-and-code.rst
index e41406d10cc75931f1b2cb2fbe8c28ea6a838d61..b99f1b5fb9a744c9a4e9dc98ef799c591b22b19c 100644
(file)
--- a/
doc/plugins/math-and-code.rst
+++ b/
doc/plugins/math-and-code.rst
@@
-327,6
+327,7
@@
replaces `Pelican code-block directive <https://docs.getpelican.com/en/stable/co
:html:`<pre>` element for code blocks with :css:`.m-code` CSS class
applied.
- Removes useless CSS classes from the output.
+- Adds a :rst:`:filters:` option. See `Filters`_ below.
Put `code blocks <{filename}/css/components.rst#code>`_ into the :rst:`.. code::`
directive and specify the language via a parameter. Use :rst:`:hl_lines:`