Sunburst Code Prettify
Uses Highlight.js with the Sunburst syntax theme to elegantly highlight code.
Envisager une 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.
- Petite base d'utilisateurs (30+ installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 14 ans
- Uniquement testé jusqu'à WordPress3,4 (le dernier est de 7,1)
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where Sunburst Code Prettify stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| code | >100 |
| Highlight | >100 |
| programming | >100 |
| sunburst | #23 |
| syntax | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 1 avis
About Sunburst Code Prettify
À partir du Lisezmoi officiel · 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.
Journal de modifications
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
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best Sunburst Code Prettify alternatives
Tous les plugins de code →FAQ
Sunburst Code Prettify: quick answers
Réponses directes, extraites des données en direct WordPress.org.
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).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit





