From 00c535043fdae5f7a0f8ae2df9d0c20b0b8da77b Mon Sep 17 00:00:00 2001 From: Keewis Date: Fri, 3 Sep 2021 23:11:32 +0200 Subject: try code-block --- docs/formatting.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/formatting.rst b/docs/formatting.rst index 9c207d1..e5f9896 100644 --- a/docs/formatting.rst +++ b/docs/formatting.rst @@ -14,7 +14,7 @@ The conversion of :py:class:`Unit` and :py:class:`Quantity` objects to strings ( through the :py:class:`str` builtin or f-strings) can be customized using :ref:`format specifications `. The basic format is: -:: +.. code-block:: [magnitude format][modifier][unit format] -- cgit v1.2.1