diff --git a/docs/configuration.md b/docs/configuration.md
index 93eaead36..bcde72e5f 100644
--- a/docs/configuration.md
+++ b/docs/configuration.md
@@ -607,17 +607,17 @@ services:
       PAPERLESS_TIKA_GOTENBERG_ENDPOINT: http://gotenberg:3000
       PAPERLESS_TIKA_ENDPOINT: http://tika:9998
 
-  # ...
+    # ...
 
     gotenberg:
-        image: gotenberg/gotenberg:7.6
-        restart: unless-stopped
-        # The gotenberg chromium route is used to convert .eml files. We do not
-        # want to allow external content like tracking pixels or even javascript.
-        command:
-          - "gotenberg"
-          - "--chromium-disable-javascript=true"
-          - "--chromium-allow-list=file:///tmp/.*"
+      image: gotenberg/gotenberg:7.6
+      restart: unless-stopped
+      # The gotenberg chromium route is used to convert .eml files. We do not
+      # want to allow external content like tracking pixels or even javascript.
+      command:
+        - 'gotenberg'
+        - '--chromium-disable-javascript=true'
+        - '--chromium-allow-list=file:///tmp/.*'
 
   tika:
     image: ghcr.io/paperless-ngx/tika:latest
diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md
index 329de94db..f522058a5 100644
--- a/docs/troubleshooting.md
+++ b/docs/troubleshooting.md
@@ -125,13 +125,13 @@ using docker-compose, this is achieved by the following configuration
 change in the `docker-compose.yml` file:
 
 ```yaml
-  # The gotenberg chromium route is used to convert .eml files. We do not
-  # want to allow external content like tracking pixels or even javascript.
-  command:
-    - "gotenberg"
-    - "--chromium-disable-javascript=true"
-    - "--chromium-allow-list=file:///tmp/.*"
-    - "--api-timeout=60"
+# The gotenberg chromium route is used to convert .eml files. We do not
+# want to allow external content like tracking pixels or even javascript.
+command:
+  - 'gotenberg'
+  - '--chromium-disable-javascript=true'
+  - '--chromium-allow-list=file:///tmp/.*'
+  - '--api-timeout=60'
 ```
 
 ## Permission denied errors in the consumption directory