WT Highlight.js


WT Highlight.js

WT Highlight.js

Code highlighting plugin using Highlight.js. Works only with Joomla 4.

Description

The package includes 2 plugins: content and editors-xtd groups, don't forget to include them.

Highlight.js version 11.7.0 supports 197 programming languages and 248 display styles. For more information, see the plugin settings.

Demo


foreach ($matches as $match){
                $lang = $match[1];
                $wa->registerAndUseScript('highlight.js.'.$lang, 'media/plg_content_wthighlightjs/js/languages/'.$lang.'.min.js');

            }

            $wa->addInlineScript('hljs.highlightAll();');

 

Joomla

Extension type:
Package
Package composition:
Plugin
Joomla version:
4.0, 5.0.0

What's new

Highlight.js update

Addition
Highlight.js has updated to v.11.9.0

Code refactoring

Addition
Both of plugins has been remake to Joomla 4+ structure

Joomla 5 ready

Addition
The package has been successfully tested for compatibility with Joomla 5.

WebTolk Joomla Extensions

77 Extensions
11 Categories
320 Versions released
297183 Downloads
Cart
Cart is empty