summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeewis <keewis@posteo.de>2021-09-03 23:08:04 +0200
committerKeewis <keewis@posteo.de>2021-09-03 23:08:04 +0200
commit0d3e0ed2b84fa71ecff9c5184c4706f76dda5c6b (patch)
tree647e1cefccf324d2e7d8d68432a230ca01b20153
parent7a7d7291e552c023324b60eb1b3f780d4e589d05 (diff)
downloadpint-0d3e0ed2b84fa71ecff9c5184c4706f76dda5c6b.tar.gz
move to an extra block
-rw-r--r--docs/formatting.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/formatting.rst b/docs/formatting.rst
index 8728578..9c207d1 100644
--- a/docs/formatting.rst
+++ b/docs/formatting.rst
@@ -12,12 +12,12 @@ 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:
+::
[magnitude format][modifier][unit format]
-
where each part is optional and the order of these is arbitrary.
In case any part (except the modifier) is omitted, the corresponding value in