PluginComponent
UtilitiesEasy Code Highlighter
Code Highlighter Plugin for Joomla
Instant access after purchaseOne-click Joomla updatesLifetime option available
30-day money-back guarantee
Works with
Joomla 4 Joomla 5 Joomla 6
Changelog — Easy Code Highlighter
[{"version":"2.0","release_date":"20 July 2026","notes":"
- \n
- Full rebuild on Prism.js 1.30 with modern Joomla 4 / 5 / 6 system plugin (service provider, namespace, SubscriberInterface) \n
- Replaced abandoned SyntaxHighlighter 3 assets and packed eval core \n
- Shortcode is
[codehighlight id=X]only; legacy{code}...{end-code}markup is retired \n - Fixed language mapping for JavaScript, C#, PowerShell, and other brushes that failed under the old filename rules \n
- Added line numbers, line highlight, and copy toolbar via Prism plugins \n
- Legacy theme names map to the closest Prism themes \n
- Added editors-xtd insert button for published snippets \n
- Component branding, SQL datetime defaults, and MEDIUMTEXT code column update \n
- Package includes component, system plugin, and editor button \n\n\n
- \n
- Package version 1.7 with component and plugin \n
- Component version 1.7 - Complete code snippet management system \n
- Plugin version 1.7 - Shortcode processing and display \n
- Full Joomla 4, 5 & 6 compatibility \n
- Modern PHP 8.0+ support \n
- Backend component for managing code snippets \n
- Shortcode system: [codehighlight id=X] \n
- Support for multiple programming languages \n
- Syntax highlighting with multiple themes \n
- Copy to clipboard button \n
- Line numbers (gutter) option \n
- Highlight specific lines feature \n
- Responsive design for all devices \n
- Auto-enabled plugin on installation \n
- User-friendly backend interface \n
- Proper ACL integration \n
- Security enhancements \n
- Performance optimizations \n
- Improved language loading \n
- Fixed menu language constants \n
- \n
- Added copy to clipboard functionality with modern Clipboard API and fallback support. \n
- Fixed HTML entity encoding issues for proper code display. \n
- Improved admin interface with professional styling and theme preview. \n
- Enhanced folder structure organization for better maintainability. \n
- Added comprehensive Joomla 5.3.3 compatibility and testing. \n
- Optimized asset loading with lazy loading of language brush files. \n
- Improved accessibility with screen reader and keyboard navigation support. \n
- Enhanced security with proper input sanitization and output escaping. \n
- Removed unused files and cleaned up codebase for production readiness. \n
- \n
- Changes to backend of the plugin. \n
- \n
- Supports Joomla 4 \n
- \n
- Backend jQuery Issue Fixed \n
- Modifications to Plugin Backend \n
- \n
- Joomla Update Integrated \n
DemoPHP with line highlight
<?php
declare(strict_types=1);
function greet(string $name): string
{
return "Hello, {$name}!";
}
echo greet("Joomla");[codehighlight id=1]
DemoCSS sample
.sample-card {
border-radius: 8px;
border: 2px solid #f59e0b;
padding: 1rem;
font-weight: 600;
}[codehighlight id=2]
DemoJavaScript fetch helper
async function loadPosts(url) {
const response = await fetch(url);
if (!response.ok) {
throw new Error(`Request failed: ${response.status}`);
}
return response.json();
}
loadPosts("/api/posts.json").then(console.log);[codehighlight id=3]
DemoHTML markup
<section class="hero">
<h1>Easy Code Highlighter</h1>
<p>Prism.js syntax highlighting for Joomla.</p>
<a class="button" href="#docs">Read the docs</a>
</section>[codehighlight id=4]
DemoSQL query
SELECT a.id, a.title, a.language
FROM #__easycodehighlighter AS a
WHERE a.state = 1
ORDER BY a.ordering ASC, a.title ASC;[codehighlight id=5]
DemoPython snippet
from pathlib import Path
def read_lines(path: str) -> list[str]:
return Path(path).read_text(encoding="utf-8").splitlines()
print(read_lines("readme.txt")[:5])[codehighlight id=6]