From e6432249582e05f438303ce73d082a0351bb383e 2022-04-07 12:18:48 From: Matthias Bussonnier Date: 2022-04-07 12:18:48 Subject: [PATCH] Merge pull request #13627 from Carreau/fix-doc-syntax DOC: misc fixes --- diff --git a/IPython/core/completer.py b/IPython/core/completer.py index 5a00f2c..cdd28f6 100644 --- a/IPython/core/completer.py +++ b/IPython/core/completer.py @@ -50,7 +50,7 @@ Backward latex completion It is sometime challenging to know how to type a character, if you are using IPython, or any compatible frontend you can prepend backslash to the character -and press `` to expand it to its latex form. +and press ```` to expand it to its latex form. .. code:: diff --git a/IPython/core/oinspect.py b/IPython/core/oinspect.py index 0096b9c..1a5c0ae 100644 --- a/IPython/core/oinspect.py +++ b/IPython/core/oinspect.py @@ -518,12 +518,12 @@ class Inspector(Colorable): """Return a mime bundle representation of the input text. - if `formatter` is None, the returned mime bundle has - a `text/plain` field, with the input text. - a `text/html` field with a `
` tag containing the input text.
+           a ``text/plain`` field, with the input text.
+           a ``text/html`` field with a ``
`` tag containing the input text.
 
-        - if `formatter` is not None, it must be a callable transforming the
-          input text into a mime bundle. Default values for `text/plain` and
-          `text/html` representations are the ones described above.
+        - if ``formatter`` is not None, it must be a callable transforming the
+          input text into a mime bundle. Default values for ``text/plain`` and
+          ``text/html`` representations are the ones described above.
 
         Note: