]> git.ipfire.org Git - thirdparty/python-drafthorse.git/commitdiff
README: Highlighting code examples (#104)
authorJulien Palard <julien@palard.fr>
Thu, 27 Nov 2025 19:48:47 +0000 (20:48 +0100)
committerGitHub <noreply@github.com>
Thu, 27 Nov 2025 19:48:47 +0000 (20:48 +0100)
README.rst

index d0041af8d83f9036d0154f9323fe7e4be5543dfa..47eca20f29af22e63a96187440e99e0e3739332e 100644 (file)
@@ -1,3 +1,5 @@
+.. highlight:: python
+
 drafthorse -- Basic ZUGFeRD implementation in Python
 ====================================================
 
@@ -140,17 +142,23 @@ Generating::
 Development
 -----------
 
-To run the included tests::
+To run the included tests:
+
+.. code-block:: bash
 
     pip install -r requirements_dev.txt
     py.test tests
 
-To automatically sort your Imports as required by CI::
+To automatically sort your Imports as required by CI:
+
+.. code-block:: bash
 
     pip install isort
     isort -rc .
 
-To validate files using mustang::
+To validate files using mustang:
+
+.. code-block:: bash
 
     git clone https://github.com/ZUGFeRD/mustangproject.git
     cd mustangproject