NsPrism
COM_JED_INTRODUCTION
NsPrism — Prism.js Syntax Highlighter
A lightweight wrapper that integrates Prism.js into Joomla — both on the frontend (article rendering) and the backend (TinyMCE editor).
Features
- Frontend syntax highlighting — automatically applied to all blocks, no template changes required
- Light and dark themes included — Default, Dark, Coy, Okaidia, Tomorrow; switchable from plugin params
- Prism feature classes — enable/disable line numbers, match braces, rainbow braces, show language badge, diff highlight from the backend; no code editing needed
- TinyMCE language list integration — define a custom JSON list of programming languages that appears directly in the editor toolbar, so authors can assign the correct language class while writing. This allows non-technical editors to produce correctly highlighted code blocks without touching HTML.
Note
Prism.js v1.30.0 — bundled within the package, no CDN or external network requests. License: MIT. https://prismjs.com/
Requirements
- Joomla 4.x, 5.x, 6.x
- PHP 8.1+
NsPrism
- COM_JED_VERSION:
- 1.0.0
- COM_JED_DEVELOPER:
- Nospace.net
- COM_JED_LAST_UPDATED:
-
2026-03-14 12:30
5 months ago - COM_JED_DATE_ADDED:
- 2026-03-03 11:42
- COM_JED_LICENSE:
- GPLv2 or later
- COM_JED_TYPE:
- COM_JED_FIELD_OPTION_FREE
- COM_JED_INCLUDES:
- p
- COM_JED_COMPATIBILITY:
- J4 J5 J6
COM_JED_USES_UPDATER
COM_JED_SHARE