DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

What does it do?

This is a Typo3-Extension that integrates the Javascript-based syntax highlighting library highlight.js into Typo3's RTE. With this extension, editors can easily add code snippets into any RTE content element or content field, using up to 150 supported languages and multiple styles.

Rendering is performed either in browser or, if desired, server-side by means of the PHP extension v8js.

Screenshots

Selecting the code syntax of a preformatted text

Selecting the code syntax of a preformatted text

Resulting frontend rendering

Resulting frontend rendering

Dependencies

  • Typo3 v7.x
  • PHP extension v8js (optional)

Credits

Credits go to Ivan Sagalaev, the author of highlight.js. Without his great Javascript library, this extension would not exist.