diff --git a/docs/integrations.rst b/docs/integrations.rst
index e82a7e80a..c220c3d8e 100644
--- a/docs/integrations.rst
+++ b/docs/integrations.rst
@@ -65,7 +65,9 @@ System and data visualisation tools
`gnuplot `_
a graphing and data visualization tool that can be made to display its
- output in kitty with the following bash snippet::
+ output in kitty with the following bash snippet:
+
+ .. code-block:: sh
function iplot {
cat < str:
careful not to perform any I/O on the terminal device
until the kitten exits.
-Available queries are::
+Available queries are:
{}
-'''.format(' ' + '\n '.join(
- f'{name}: {c.help_text}' for name, c in all_queries.items()))
+
+'''.format('\n'.join(
+ f'``{name}``\n {c.help_text}\n' for name, c in all_queries.items()))
usage = '[query1 query2 ...]'