From 1d34917d2528a91f561c9b16cb59b971e4918b14 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Thu, 14 May 2020 12:47:41 +0200 Subject: [PATCH] doc: mention the :filters: option earlier. --- doc/plugins/math-and-code.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/plugins/math-and-code.rst b/doc/plugins/math-and-code.rst index e41406d1..b99f1b5f 100644 --- a/doc/plugins/math-and-code.rst +++ b/doc/plugins/math-and-code.rst @@ -327,6 +327,7 @@ replaces `Pelican code-block directive ` 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:` -- 2.30.2