summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeewis <keewis@posteo.de>2021-08-30 12:10:13 +0200
committerKeewis <keewis@posteo.de>2021-08-30 12:10:13 +0200
commitae923961923e4386fa2562a98b22ba017c129982 (patch)
tree7681a87ddc8c71a56a7ff9e267bea9033902fdfe
parent74113bedd3e2f2225f45098f3a6ff5513b53a8ff (diff)
downloadpint-ae923961923e4386fa2562a98b22ba017c129982.tar.gz
don't specify the language
-rw-r--r--docs/formatting.rst5
1 files changed, 4 insertions, 1 deletions
diff --git a/docs/formatting.rst b/docs/formatting.rst
index a0a414b..4a76cd8 100644
--- a/docs/formatting.rst
+++ b/docs/formatting.rst
@@ -12,7 +12,10 @@ String formatting
=================
The conversion of :py:class:`Unit` and :py:class:`Quantity` objects to strings (e.g.
through the :py:class:`str` builtin or f-strings) can be customized using :ref:`format
-specifications <formatspec>`. The basic format is::
+specifications <formatspec>`. The basic format is:
+
+
+.. code::
[magnitude format][modifier][unit format]