summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorKeewis <keewis@posteo.de>2021-09-03 23:11:32 +0200
committerKeewis <keewis@posteo.de>2021-09-03 23:11:32 +0200
commit00c535043fdae5f7a0f8ae2df9d0c20b0b8da77b (patch)
treef0c52921218f89064d362d9a1c769f9f53be8272 /docs
parent0d3e0ed2b84fa71ecff9c5184c4706f76dda5c6b (diff)
downloadpint-00c535043fdae5f7a0f8ae2df9d0c20b0b8da77b.tar.gz
try code-block
Diffstat (limited to 'docs')
-rw-r--r--docs/formatting.rst2
1 files changed, 1 insertions, 1 deletions
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 <formatspec>`. The basic format is:
-::
+.. code-block::
[magnitude format][modifier][unit format]