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:
a246040
)
m.code: doc++
author
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 4 Sep 2019 18:16:24 +0000
(20:16 +0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Wed, 4 Sep 2019 18:16:24 +0000
(20:16 +0200)
Be consistent with the actual output.
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 dc5baf99e8af45d9fbd67cbfa1acb1faa0a1a0f4..e41406d10cc75931f1b2cb2fbe8c28ea6a838d61 100644
(file)
--- a/
doc/plugins/math-and-code.rst
+++ b/
doc/plugins/math-and-code.rst
@@
-498,7
+498,7
@@
Multiple filters can be specified when separated by spaces.
.. code:: py
M_CODE_FILTERS_PRE = {
- ('C++', 'codename'): lambda code: code.replace('DirtyMess', 'P300'),
+ ('C++', 'codename'): lambda code: code.replace('DirtyMess', 'P300
::V1
'),
('C++', 'fix_typography'): lambda code: code.replace(' :', ':'),
}