theolangstraat / phiki
Extbase-based code highlighting content element using Phiki with theme and plugin support.
Package info
github.com/theo-langstraat/phiki
Type:typo3-cms-extension
pkg:composer/theolangstraat/phiki
Requires
- phiki/phiki: ^2.2
- typo3/cms-core: ^14.3
README
Extension Overview
This extension provides a syntax-highlighting content element powered by phiki (https://github.com/ryangjchandler), a PHP-based syntax highlighter developed by Ryan Chandler.
Since phiki operates entirely in PHP and does not rely on JavaScript — which is not permitted in the TYPO3 backend — the backend renders the highlighted code exactly as it appears in the frontend. This ensures a consistent WYSIWYG editing experience for integrators and editors.
Features
- Support for 227 programming languages
- Selection of 60 themes
Configuration Options
- Line numbers
- Display of the selected programming language
- Copy-to-clipboard button
Configuration is possible per content element or globally.