Sunburst Code Prettify
Uses Highlight.js with the Sunburst syntax theme to elegantly highlight code.
Consider an alternative
Sunburst Code Prettify shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 15 years ago, and scores 31/100 on our health check.
- Small user base (30+ active installs)
- Very few reviews so far
- No update in 14 years
- Only tested up to WordPress 3.4 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Sunburst Code Prettify stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| code | >100 |
| Highlight | >100 |
| programming | >100 |
| sunburst | #23 |
| syntax | >100 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 5 from 1 reviews
About Sunburst Code Prettify
From the official readme · v2.2.0Description
This plugin uses the Sunburst theme, a colorful and high contrast dark theme to highlight your code syntax with Highlight.js. Highlight.js is accurate, fast, lightweight and easy to use.
Usage
Short-code method:
- From within a WordPress page or post, wrap the
[prettify][/prettify]shortcode around the code snippet you wish to highlight. - You can specify a language by specifying the language extension inside the shortcode.
Example:
[prettify class=”html”][/prettify] - The shortcode will work from within either the Visual or HTML editor.
Non-short-code method:
-
Wrap your code snippets in “
.
- You can specify a language by specifying a class in the
element.
Example:
<pre><code class="html">
Sunburst Only
This plugin only contains the CSS file for the Sunburst theme syntax highlighting formatting, because it is the best dark syntax theme. If (for some reason) you wanted to highlight your code using a different theme, there are other syntax highlighting themes available in the Highlight.js Theme Gallery
Languages Supported:
- Bash
- C#
- C++
- CSS
- Diff
- HTML, XML
- Ini
- Java
- JavaScript
- PHP
- Perl
- Python
- Ruby
- SQL
Installation
-
Wrap code snippets in
[prettify][/prettify]shortcode and it will guess the syntax being used and highlight the code. -
You can specify a language by specifying the language extension inside the shortcode.
Example:
[prettify class=”html”][/prettify]
The class=”” specifies the language file extensions.
Changelog
2.2.0
- Changed syntax highlight script to Highlight.js for more accurate code detection.
- Improved content stripping rules for WordPress code editor when the
[prettify]...[/prettify]is wrapped around content. - Improved Sunburst CSS styles
2.1.6
- Added plain text color to CSS file
- Adjusted spacing in CSS file
- Updated copyright year in plugin.php file
2.1.5
- Added CSS parsing js file
- Moved JS files into /js folder
- Fixed missing files from 2.1 commit
2.1
- Added [prettify] shortcode
- Automatically added the required onload=”prettyPrint()” to body tag with jquery
2.0
- Initial WordPress.org commit
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Sunburst Code Prettify alternatives
All code plugins →FAQ
Sunburst Code Prettify: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Sunburst Code Prettify free?
Yes. Sunburst Code Prettify is free to download and use from the official WordPress.org plugin directory.
Is Sunburst Code Prettify safe to use in 2026?
Sunburst Code Prettify shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites, is rated 5/5 and was last updated 15 years ago, and scores 31/100 on our health check.
How many websites use Sunburst Code Prettify?
Sunburst Code Prettify is active on 30+ WordPress websites and has been downloaded 5,700 times since it launched in February 2012. It was downloaded 115 times in the last 30 days.
Does Sunburst Code Prettify work with WordPress 7.1?
Sunburst Code Prettify is officially tested up to WordPress 3.4.2, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Sunburst Code Prettify last updated?
The latest version, 2.2.0, was released on May 2, 2012 (15 years ago).
Who makes Sunburst Code Prettify?
Sunburst Code Prettify is developed and maintained by Rachel Baker.
What are the best alternatives to Sunburst Code Prettify?
The most popular alternatives to Sunburst Code Prettify are WPCode (3M+ installs), Code Snippets (1M+ installs) and Head & Footer Code (100K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card





