summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKeewis <keewis@posteo.de>2021-09-03 22:55:15 +0200
committerKeewis <keewis@posteo.de>2021-09-03 22:55:15 +0200
commit151a7e22efd8ff8e96c38cc685eb3c567c9c4892 (patch)
tree08c006e37460b0919d496164317049739bc8e3a3 /docs
parentbd3abffb2a556642f02e70d85de847a35e78ecf2 (diff)
downloadpint-151a7e22efd8ff8e96c38cc685eb3c567c9c4892.tar.gz
convert back to a literal block
Diffstat (limited to 'docs')
-rw-r--r--docs/formatting.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/docs/formatting.rst b/docs/formatting.rst
index 4a76cd8..a0a414b 100644
--- a/docs/formatting.rst
+++ b/docs/formatting.rst
@@ -12,10 +12,7 @@ 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:
-
-
-.. code::
+specifications <formatspec>`. The basic format is::
[magnitude format][modifier][unit format]