From: Vladimír Vondruš Date: Wed, 4 Sep 2019 18:16:24 +0000 (+0200) Subject: m.code: doc++ X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=9eeae3b3a9d754a2d1ad3e755bdc8a8086846337;p=blog.git m.code: doc++ Be consistent with the actual output. --- diff --git a/doc/plugins/math-and-code.rst b/doc/plugins/math-and-code.rst index dc5baf99..e41406d1 100644 --- 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(' :', ':'), }