Skip to content
Snippets Groups Projects
Commit 81154088 authored by Chris Müller's avatar Chris Müller Committed by Christian Kuhn
Browse files

[DOCS] Highlight relevant code snippets in changelog

First, breaking the <f:uri.resource> example into multiple lines makes
it easier for users on small screens/browser width (or with larger font
size) to get the relevant attribute without horizontal scrolling.

Second, the relevant parts are now highlighted to spot the significant
part faster.

Resolves: #104640
Related: #99203
Releases: main
Change-Id: Ia7719b9a59a7920bf88e7add37a433ec41c856c5
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85655


Tested-by: default avatarGarvin Hicking <gh@faktor-e.de>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: default avatarGarvin Hicking <gh@faktor-e.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
parent 259f099e
Branches
Tags
No related merge requests found
......@@ -20,6 +20,7 @@ getText "asset" to cache-bust assets in TypoScript
.. code-block:: typoscript
:caption: EXT:my_extension/Configuration/TypoScript/setup.typoscript
:emphasize-lines: 3
page.20 = TEXT
page.20 {
......@@ -37,8 +38,12 @@ Cache-busted assets with the :html:`<f:uri.resource>` ViewHelper
.. code-block:: html
:caption: EXT:my_extension/Resources/Private/Template/MyTemplate.html
:emphasize-lines: 3
<f:uri.resource path="EXT:core/Resources/Public/Icons/Extension.svg" useCacheBusting="true" />
<f:uri.resource
path="EXT:core/Resources/Public/Icons/Extension.svg"
useCacheBusting="true"
/>
.. code-block:: text
:caption: Comparison
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment