Installation
Target group: Administrators
Note
The extension in version main supports TYPO3 v12 LTS and TYPO3 v13. Use version 3.x for support of TYPO3 v11. Use version 2.x for support of TYPO3 v9 LTS and TYPO3 v10 LTS.
Some basic configuration is available which is explained in the Configuration section.
Tip
Install the TYPO3 system extension "t3editor" on TYPO3 v12 to use the features of this editor in the backend content element. In TYPO3 v13 the code editor is always available.
Installation via Composer
The recommended way to install this extension is by using Composer. In your Composer-based TYPO3 project root, just type:
composer req brotkrueml/codehighlight
and the recent stable version will be installed.
Installation in extension manager
You can also install the extension from the TYPO3 Extension Repository (TER). See t3start:extensions-legacy-management for a manual how to install an extension.
Preparation: Include static TypoScript
The extension ships some TypoScript code which needs to be included.
Note
This needs only to be done, if not using TYPO3 v13 with site sets.
- Switch to the root page of your site.
- Switch to the Template module and select Info/Modify.
- Press the link Edit the whole template record and switch to the tab Includes.
- Select Code Highlight (codehighlight) from the available items at the field Include static (from extensions):

Include static TypoScript