diff --git a/typo3/sysext/dashboard/Documentation/Configuration/WidgetPresets.rst b/typo3/sysext/dashboard/Documentation/Configuration/WidgetPresets.rst
index e84af6820f9288f42f9bf4ae313190c4b945ff3e..437c2e386f80874b57c41ae85ffc6071f9f4375d 100644
--- a/typo3/sysext/dashboard/Documentation/Configuration/WidgetPresets.rst
+++ b/typo3/sysext/dashboard/Documentation/Configuration/WidgetPresets.rst
@@ -77,24 +77,29 @@ Each preset consists of the following options:
     This can be disabled, to add presets via :ref:`configure-preset-for-user`, without
     showing up in the wizard.
 
-.. highlight:: typoscript
 .. _configure-preset-for-user:
 
 Configure preset for user
 -------------------------
 
-To define the default preset for a backend user, the following User TSconfig can be added::
+To define the default preset for a backend user, the following User TSconfig can be added:
 
-   options.dashboard.dashboardPresetsForNewUsers = default
+..  code-block:: typoscript
+
+    options.dashboard.dashboardPresetsForNewUsers = default
 
 Where ``default`` is the identifier of the preset.
-Even a comma separated list of identifiers is possible::
+Even a comma separated list of identifiers is possible:
+
+..  code-block:: typoscript
+
+    options.dashboard.dashboardPresetsForNewUsers = default, companyDefault
 
-   options.dashboard.dashboardPresetsForNewUsers = default, companyDefault
+It is also possible to add another dashboard to the set of dashboards:
 
-It is also possible to add another dashboard to the set of dashboards::
+..  code-block:: typoscript
 
-   options.dashboard.dashboardPresetsForNewUsers := addToList(anotherOne)
+    options.dashboard.dashboardPresetsForNewUsers := addToList(anotherOne)
 
 If nothing is configured, ``default`` will be used as identifier.
 
diff --git a/typo3/sysext/dashboard/Documentation/Developer/AddingButtons.rst b/typo3/sysext/dashboard/Documentation/Developer/AddingButtons.rst
index 8e22cf331c8bdaa1dbb53f83ce2fe31694876c3b..1b15bd6dd64ae23871fd5f09279ef9c46275fafc 100644
--- a/typo3/sysext/dashboard/Documentation/Developer/AddingButtons.rst
+++ b/typo3/sysext/dashboard/Documentation/Developer/AddingButtons.rst
@@ -1,6 +1,5 @@
 .. include:: /Includes.rst.txt
 
-.. highlight:: php
 
 .. _adding-buttons:
 
@@ -76,30 +75,31 @@ Implementation
 
 An example implementation could look like this:
 
-:file:`Classes/Widgets/RssWidget.php`::
-
-   class RssWidget implements WidgetInterface
-   {
-       public function __construct(
-           // …
-           private readonly ButtonProviderInterface $buttonProvider = null,
-           // …
-       ) {
-       }
-
-       public function renderWidgetContent(): string
-       {
-           // …
-           $this->view->assignMultiple([
-               // …
-               'button' => $this->buttonProvider,
-               // …
-           ]);
-           // …
-       }
-
-       public function getOptions(): array
-       {
-           return $this->options;
-       }
-   }
+..  code-block:: php
+    :caption: Classes/Widgets/RssWidget.php
+
+    class RssWidget implements WidgetInterface
+    {
+        public function __construct(
+            // …
+            private readonly ButtonProviderInterface $buttonProvider = null,
+            // …
+        ) {
+        }
+
+        public function renderWidgetContent(): string
+        {
+            // …
+            $this->view->assignMultiple([
+                // …
+                'button' => $this->buttonProvider,
+                // …
+            ]);
+            // …
+        }
+
+        public function getOptions(): array
+        {
+            return $this->options;
+        }
+    }
diff --git a/typo3/sysext/dashboard/Documentation/Developer/GraphWidgetImplementation.rst b/typo3/sysext/dashboard/Documentation/Developer/GraphWidgetImplementation.rst
index d2b99a1f337b866b4389f8a9fc5f106bf6e17d63..5b38fd6c5695f90e063268e0b6603bfd5c787895 100644
--- a/typo3/sysext/dashboard/Documentation/Developer/GraphWidgetImplementation.rst
+++ b/typo3/sysext/dashboard/Documentation/Developer/GraphWidgetImplementation.rst
@@ -1,6 +1,5 @@
 .. include:: /Includes.rst.txt
 
-.. highlight:: php
 
 .. _graph-widget-implementation:
 
@@ -22,54 +21,57 @@ To make the dashboard aware of this workflow, some interfaces come together:
 Also the existing template file :file:`Widget/ChartWidget` is used, which provides necessary HTML to render the chart.
 The provided ``eventData`` will be rendered as a chart and therefore has to match the expected structure.
 
-An example would be :file:`Classes/Widgets/BarChartWidget.php`::
-
-   class BarChartWidget implements WidgetInterface, EventDataInterface, AdditionalCssInterface
-   {
-       public function __construct(
-           // …
-           private readonly ChartDataProviderInterface $dataProvider,
-           // …
-       ) {
-           // …
-           $this->dataProvider = $dataProvider;
-           // …
-       }
-
-       public function renderWidgetContent(): string
-       {
-           // …
-           $this->view->assignMultiple([
-               // …
-               'configuration' => $this->configuration,
-               // …
-           ]);
-           // …
-       }
-
-       public function getEventData(): array
-       {
-           return [
-               'graphConfig' => [
-                   'type' => 'bar',
-                   'options' => [
-                       // …
-                   ],
-                   'data' => $this->dataProvider->getChartData(),
-               ],
-           ];
-       }
-
-       public function getCssFiles(): array
-       {
-           return [];
-       }
-
-       public function getOptions(): array
-       {
-           return $this->options;
-       }
-   }
+An example would be :file:`Classes/Widgets/BarChartWidget.php`:
+
+..  code-block:: php
+    :caption: Classes/Widgets/BarChartWidget.php
+
+    class BarChartWidget implements WidgetInterface, EventDataInterface, AdditionalCssInterface
+    {
+        public function __construct(
+            // …
+            private readonly ChartDataProviderInterface $dataProvider,
+            // …
+        ) {
+            // …
+            $this->dataProvider = $dataProvider;
+            // …
+        }
+
+        public function renderWidgetContent(): string
+        {
+            // …
+            $this->view->assignMultiple([
+                // …
+                'configuration' => $this->configuration,
+                // …
+            ]);
+            // …
+        }
+
+        public function getEventData(): array
+        {
+            return [
+                'graphConfig' => [
+                    'type' => 'bar',
+                    'options' => [
+                        // …
+                    ],
+                    'data' => $this->dataProvider->getChartData(),
+                ],
+            ];
+        }
+
+        public function getCssFiles(): array
+        {
+            return [];
+        }
+
+        public function getOptions(): array
+        {
+            return $this->options;
+        }
+    }
 
 Together with :file:`Services.yaml`:
 
@@ -88,85 +90,86 @@ Together with :file:`Services.yaml`:
 The configuration adds necessary CSS classes, as well as the ``dataProvider`` to use.
 The provider implements :php:`ChartDataProviderInterface` and could look like the following.
 
-:file:`Classes/Widgets/Provider/SysLogErrorsDataProvider`::
-
-   class SysLogErrorsDataProvider implements ChartDataProviderInterface
-   {
-       /**
-        * Number of days to gather information for.
-        *
-        * @var int
-        */
-       protected $days = 31;
-
-       /**
-        * @var array
-        */
-       protected $labels = [];
-
-       /**
-        * @var array
-        */
-       protected $data = [];
-
-       public function __construct(int $days = 31)
-       {
-           $this->days = $days;
-       }
-
-       public function getChartData(): array
-       {
-           $this->calculateDataForLastDays();
-           return [
-               'labels' => $this->labels,
-               'datasets' => [
-                   [
-                       'label' => $this->getLanguageService()->sL('LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widgets.sysLogErrors.chart.dataSet.0'),
-                       'backgroundColor' => WidgetApi::getDefaultChartColors()[0],
-                       'border' => 0,
-                       'data' => $this->data
-                   ]
-               ]
-           ];
-       }
-
-       protected function getNumberOfErrorsInPeriod(int $start, int $end): int
-       {
-           $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('sys_log');
-           return (int)$queryBuilder
-               ->count('*')
-               ->from('sys_log')
-               ->where(
-                   $queryBuilder->expr()->eq(
-                       'type',
-                       $queryBuilder->createNamedParameter(SystemLogType::ERROR, Connection::PARAM_INT)
-                   ),
-                   $queryBuilder->expr()->gte(
-                       'tstamp',
-                       $queryBuilder->createNamedParameter($start, Connection::PARAM_INT)
-                   ),
-                   $queryBuilder->expr()->lte(
-                       'tstamp',
-                       $queryBuilder->createNamedParameter($end, Connection::PARAM_INT)
-                   )
-               )
-               ->execute()
-               ->fetchColumn();
-       }
-
-       protected function calculateDataForLastDays(): void
-       {
-           $format = $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'] ?: 'Y-m-d';
-           for ($daysBefore = $this->days; $daysBefore >= 0; $daysBefore--) {
-               $this->labels[] = date($format, strtotime('-' . $daysBefore . ' day'));
-               $startPeriod = strtotime('-' . $daysBefore . ' day 0:00:00');
-               $endPeriod =  strtotime('-' . $daysBefore . ' day 23:59:59');
-               $this->data[] = $this->getNumberOfErrorsInPeriod($startPeriod, $endPeriod);
-           }
-       }
-
-       protected function getLanguageService(): LanguageService
-       {
-           return $GLOBALS['LANG'];
-       }
-   }
+..  code-block:: php
+    :caption: Classes/Widgets/Provider/SysLogErrorsDataProvider
+
+    class SysLogErrorsDataProvider implements ChartDataProviderInterface
+    {
+        /**
+         * Number of days to gather information for.
+         *
+         * @var int
+         */
+        protected $days = 31;
+
+        /**
+         * @var array
+         */
+        protected $labels = [];
+
+        /**
+         * @var array
+         */
+        protected $data = [];
+
+        public function __construct(int $days = 31)
+        {
+            $this->days = $days;
+        }
+
+        public function getChartData(): array
+        {
+            $this->calculateDataForLastDays();
+            return [
+                'labels' => $this->labels,
+                'datasets' => [
+                    [
+                        'label' => $this->getLanguageService()->sL('LLL:EXT:dashboard/Resources/Private/Language/locallang.xlf:widgets.sysLogErrors.chart.dataSet.0'),
+                        'backgroundColor' => WidgetApi::getDefaultChartColors()[0],
+                        'border' => 0,
+                        'data' => $this->data
+                    ]
+                ]
+            ];
+        }
+
+        protected function getNumberOfErrorsInPeriod(int $start, int $end): int
+        {
+            $queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('sys_log');
+            return (int)$queryBuilder
+                ->count('*')
+                ->from('sys_log')
+                ->where(
+                    $queryBuilder->expr()->eq(
+                        'type',
+                        $queryBuilder->createNamedParameter(SystemLogType::ERROR, Connection::PARAM_INT)
+                    ),
+                    $queryBuilder->expr()->gte(
+                        'tstamp',
+                        $queryBuilder->createNamedParameter($start, Connection::PARAM_INT)
+                    ),
+                    $queryBuilder->expr()->lte(
+                        'tstamp',
+                        $queryBuilder->createNamedParameter($end, Connection::PARAM_INT)
+                    )
+                )
+                ->execute()
+                ->fetchColumn();
+        }
+
+        protected function calculateDataForLastDays(): void
+        {
+            $format = $GLOBALS['TYPO3_CONF_VARS']['SYS']['ddmmyy'] ?: 'Y-m-d';
+            for ($daysBefore = $this->days; $daysBefore >= 0; $daysBefore--) {
+                $this->labels[] = date($format, strtotime('-' . $daysBefore . ' day'));
+                $startPeriod = strtotime('-' . $daysBefore . ' day 0:00:00');
+                $endPeriod =  strtotime('-' . $daysBefore . ' day 23:59:59');
+                $this->data[] = $this->getNumberOfErrorsInPeriod($startPeriod, $endPeriod);
+            }
+        }
+
+        protected function getLanguageService(): LanguageService
+        {
+            return $GLOBALS['LANG'];
+        }
+    }
diff --git a/typo3/sysext/dashboard/Documentation/Developer/Interfaces.rst b/typo3/sysext/dashboard/Documentation/Developer/Interfaces.rst
index 51a7d79ea647b9f06c9c8b7ffb8addce0adcf307..1129501f799700c74d087db1e23dad333b6cd651 100644
--- a/typo3/sysext/dashboard/Documentation/Developer/Interfaces.rst
+++ b/typo3/sysext/dashboard/Documentation/Developer/Interfaces.rst
@@ -1,6 +1,5 @@
 .. include:: /Includes.rst.txt
 
-.. highlight:: php
 
 .. _interfaces:
 
@@ -97,12 +96,14 @@ For up to date information, please check the source code.
 
    .. php:method:: getJsFiles()
 
-      Returns a list of JavaScript file names that should be included, e.g.::
+      Returns a list of JavaScript file names that should be included, e.g.:
 
-         return [
-             'EXT:my_extension/Resources/Public/JavaScript/file.js',
-             'EXT:my_extension/Resources/Public/JavaScript/file2.js',
-         ];
+      ..  code-block:: php
+
+          return [
+              'EXT:my_extension/Resources/Public/JavaScript/file.js',
+              'EXT:my_extension/Resources/Public/JavaScript/file2.js',
+          ];
 
       :returntype: array
       :returns: List of JS files to load.
@@ -114,12 +115,14 @@ For up to date information, please check the source code.
 
    .. php:method:: getCssFiles()
 
-      Returns a list of Css file names that should be included, e.g.::
+      Returns a list of Css file names that should be included, e.g.:
+
+      ..  code-block:: php
 
-         return [
-             'EXT:my_extension/Resources/Public/Css/widgets.css',
-             'EXT:my_extension/Resources/Public/Css/list-widget.css',
-         ];
+          return [
+              'EXT:my_extension/Resources/Public/Css/widgets.css',
+              'EXT:my_extension/Resources/Public/Css/list-widget.css',
+          ];
 
       :returntype: array
       :returns: List of Css files to load.
diff --git a/typo3/sysext/dashboard/Documentation/Developer/MakeRefreshable.rst b/typo3/sysext/dashboard/Documentation/Developer/MakeRefreshable.rst
index 6c3c64365241e4a5c7ed8506493b4d3bd25e3b1b..821f92509646aeb232252103438af7fd81e44e33 100644
--- a/typo3/sysext/dashboard/Documentation/Developer/MakeRefreshable.rst
+++ b/typo3/sysext/dashboard/Documentation/Developer/MakeRefreshable.rst
@@ -1,6 +1,5 @@
 .. include:: /Includes.rst.txt
 
-.. highlight:: php
 
 .. _make-refreshable:
 
diff --git a/typo3/sysext/dashboard/Documentation/Developer/WidgetImplementation.rst b/typo3/sysext/dashboard/Documentation/Developer/WidgetImplementation.rst
index 0916cf17d58c48944abb03a8dee55a7dbc2fe252..aea3fa40e297b9d13cd1ac2add8186d70acb06ae 100644
--- a/typo3/sysext/dashboard/Documentation/Developer/WidgetImplementation.rst
+++ b/typo3/sysext/dashboard/Documentation/Developer/WidgetImplementation.rst
@@ -1,6 +1,5 @@
 .. include:: /Includes.rst.txt
 
-.. highlight:: php
 
 .. _implement-new-widget:
 
@@ -30,7 +29,9 @@ PHP class
 ---------
 
 Each Widget has to be a PHP class.
-This class has to implement the :php:`WidgetInterface` and could look like this::
+This class has to implement the :php:`WidgetInterface` and could look like this:
+
+..  code-block:: php
 
     class RssWidget implements WidgetInterface, RequestAwareWidgetInterface
     {
@@ -73,7 +74,7 @@ This class has to implement the :php:`WidgetInterface` and could look like this:
         {
             return $this->options;
         }
-   }
+    }
 
 The class should always provide documentation how to use in :file:`Services.yaml`.
 The above class is documented at :ref:`rss-widget`.
@@ -107,6 +108,7 @@ JavaScript module
 
     ..  code-block:: php
 
+
         class ExampleChartWidget implements JavaScriptInterface
         {
             // ...
@@ -169,15 +171,17 @@ Providing custom CSS
 
 It is possible to add custom Css to style widgets.
 
-Implement :php:`AdditionalCssInterface`::
-
-   class RssWidget implements WidgetInterface, AdditionalCssInterface
-   {
-         public function getCssFiles(): array
-         {
-            return [
-                'EXT:my_extension/Resources/Public/Css/widgets.css',
-                'EXT:my_extension/Resources/Public/Css/list-widget.css',
-            ];
-         }
-   }
+Implement :php:`AdditionalCssInterface`:
+
+..  code-block:: php
+
+    class RssWidget implements WidgetInterface, AdditionalCssInterface
+    {
+          public function getCssFiles(): array
+          {
+             return [
+                 'EXT:my_extension/Resources/Public/Css/widgets.css',
+                 'EXT:my_extension/Resources/Public/Css/list-widget.css',
+             ];
+          }
+    }
diff --git a/typo3/sysext/dashboard/Documentation/Installation/Index.rst b/typo3/sysext/dashboard/Documentation/Installation/Index.rst
index 8d81eadd68a1f13060b1476f73dc7bf6dcb4fc66..02e766b707a3eacc988c7c75dd202b0745ac9d0e 100644
--- a/typo3/sysext/dashboard/Documentation/Installation/Index.rst
+++ b/typo3/sysext/dashboard/Documentation/Installation/Index.rst
@@ -1,5 +1,4 @@
 .. include:: /Includes.rst.txt
-.. highlight:: bash
 
 .. _installation: