Installation

Target group: Administrators

Note

The extension in version 3.1 supports TYPO3 v11 LTS and TYPO3 v12. 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" to use the features of this editor in the backend content element.

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 Managing Extensions - Legacy Guide for a manual how to install an extension.

Preparation: Include static TypoScript

The extension ships some TypoScript code which needs to be included.

  1. Switch to the root page of your site.

  2. Switch to the Template module and select Info/Modify.

  3. Press the link Edit the whole template record and switch to the tab Includes.

  4. Select Code Highlight (codehighlight) from the available items at the field Include static (from extensions):

Include static TypoScript