Installation
Target group: Administrators
Note
The extension in version main supports TYPO3 v13 LTS and TYPO3 v14.
Some basic configuration is available which is explained in the Configuration section.
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
Copied!
and the recent stable version will be installed.
Installation in extension manager
In a legacy installation, you can also install the extension from the TYPO3 Extension Repository (TER).
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