Skip to content
Snippets Groups Projects
Commit 909b96ac authored by linawolf's avatar linawolf Committed by Lina Wolf
Browse files

[DOCS] Switch to correct code-block languages

While Sphinx ignores case of code-block
languages the new code-highlighter is
code-sensitive. So converting the cases
all to lowercase.

There is no language called mysql in
the new highlighter. In Sphinx this
was an alias for sql. It does not
really make sense to use mysql here,
as the examples would also work in
Maria-DB.

A backport is no necessary as
there were no content changes and we
only render the main branch for
the changelog

Resolves: #102662
Releases: main
Change-Id: I15193c5b6b8cd7e27799db0bee11096642efe702
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/82179


Reviewed-by: default avatarLina Wolf <112@linawolf.de>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarLina Wolf <112@linawolf.de>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarChris Müller <typo3@krue.ml>
Reviewed-by: default avatarChris Müller <typo3@krue.ml>
parent 7a7d57ef
Branches
Tags
No related merge requests found
......@@ -15,7 +15,7 @@ A new ViewHelper for the backend to render thumbnails deferred was introduced.
The :php:`\TYPO3\CMS\Backend\ViewHelpers\ThumbnailViewHelper` extends the :php:`ImageViewHelper` and generates the image tag with the special URI.
.. code-block:: HTML
.. code-block:: html
<be:thumbnail image="{file.resource}" width="{thumbnail.width}" height="{thumbnail.height}" />
......
......@@ -34,7 +34,7 @@ Port the plugin to an AMD module. The event callbacks are now part of the module
Example code:
.. code-block:: JavaScript
.. code-block:: javascript
CoolPlugin.afterKeyDown = function(currWordObj, compResult) {
CoolPlugin.somethingFunky(currWordObj, compResult);
......
......@@ -34,7 +34,7 @@ Port the plugin to an AMD module. The plugin must have an `init` method with a c
Example code:
.. code-block:: JavaScript
.. code-block:: javascript
define('Awesome/Extension/Plugins/CodeCompletion/CoolPlugin', [
'jquery',
......
......@@ -16,7 +16,7 @@ Per default TYPO3 only creates preview links for the tables tt_content, pages
and pages_language_overlay. To avoid utilizing a hook for each table, creating
preview links can be triggered using Page TSconfig.
.. code-block:: TypoScript
.. code-block:: typoscript
# Using page 123 for previewing workspaces records (in general)
options.workspaces.previewPageId = 123
......
......@@ -75,7 +75,7 @@ values set to generate more space between their content elements.
Check if your site is affected
------------------------------
.. code-block:: mysql
.. code-block:: sql
SELECT
uid,
......@@ -100,7 +100,7 @@ a preset of your choice.
Example
-------
.. code-block:: mysql
.. code-block:: sql
UPDATE
tt_content
......
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