// syntax-highlighter.wp
Code that
actually
looks good.
LumiCode brings VS Code–quality syntax highlighting to WordPress. 40+ languages, 15+ themes, zero configuration. Your readers deserve beautiful code.
2
3
4
5
6
7
8
9
10
11
12
13
14
15
userId: string,
retries: number = 3
): Promise<User> {
for (let i = 0; i < retries; i++) {
const res = await fetch(`/api/${userId}`);
if (res.ok) return res.json();
}
throw new Error('Failed after retries');
}
// Call with default retries
const user = await fetchUser('usr_abc123');
console.log(user.name);
Features
Everything a developer
blog deserves.
All the features you'd expect from a premium highlighter, shipped as a free WordPress plugin.
highlight attribute.Themes
Your color.
Your code.
15+ curated highlight.js themes. Switch globally in Settings — preview updates live, saves sitewide on submit.
2
3
4
5
6
7
8
function lumicode_get_theme(): string {
return get_option(
'lumicode_theme',
'atom-one-dark'
);
}
Shortcodes
Write once,
highlight anywhere.
const config = {
theme: "dracula",
}ATTRIBUTES
php, python, typescript. Auto-detected if omitted.
config.js
1,3-5
true / false
Code Scanner
Retrofit your entire site
in one click.
LumiCode scans every post and page for bare <pre> blocks and lets you apply beautiful formatting — one block at a time, or all at once.
Performance
Beautiful code.
Zero bloat.
LumiCode is engineered for speed. No jQuery. No runtime PHP on the frontend. CDN-delivered highlight.js cached on first load.
<link rel="preconnect"> hint is injected automatically so highlight.js resolves before it's needed.Ship code that
speaks for itself.
Install LumiCode from the WordPress plugin directory in under 60 seconds. No account. No upsells. No strings.