WT Highlight.js

WT Highlight.js

Downloads 1947 Hits 1897 CTR 103% Pack Free

Code highlighting plugin using Highlight.js . It is needed in articles on IT topics for a comfortable and familiar perception of code examples. The package includes a content plugin and an editor button plugin. It only works with Joomla 4.3+.

WT Highlight.js

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, 5.1.1

What's new

Addition

Update Highlight.js

Highlight.js has been updated to version 11.10.0
Fixed

Minor fixes

Fixed getting a list of available languages in the plugin settings. Cosmetic changes.

WebTolk Joomla Extensions

89 Extensions
11 Categories
395 Versions released
381362 Downloads
Cart
Cart is empty