Highlight Source Pro
Powerful, flexible, XHTML-compliant, server-side code highlighting, credits for everything but ‘making it a plugin’ go to Jay Pipes and GeSHi.
Consider an alternative
Highlight Source Pro shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites and was last updated 19 years ago, and scores 24/100 on our health check.
- Small user base (30+ active installs)
- Very few reviews so far
- No update in 18 years
- Only tested up to WordPress 2.5 (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 Highlight Source Pro stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| code | >100 |
| Highlight | >100 |
| markup | >100 |
| source | >100 |
| syntax | >100 |
Version adoption
Share of active sites per release.
About Highlight Source Pro
From the official readme · v1.3Description
Powerful, flexible, XHTML-compliant, server-side code highlighting, credits for everything
but ‘making it a plugin’ go to Jay Pipes
and GeSHi.
Features
- Highlight sources of any language
- automatically, server-side (no javascripts)
- XHTML-Compliant,
<div>,<ul>,<span>with class-attributes and a css-file are used for styling - optionally add a heading for every code-block
- optionally specify line-number offset (BREAKS XHTML COMPLIANCE)
- optionally don’t display line-numbers
- set per-codeblock if the code is html_entity_encoded or not
- only parses
<pre>-tags with thelang=-attribute, thus does not interfere with any regular preformatted contents you might have - degrades beautifully through
<pre>-tags (if you keep the sources clean, that is) - all settings through logical, valid arguments for the main container
- comes with generic cross-browser CSS (tested: IE5.5+, FF, Safari, Opera)
Version History
- 1.3: Thanks to a tipp now the link-path to the stylesheets is correct, sorry for the inconvenience
- 1.2: Leading whitespace isn’t stripped anymore (indents as well as newlines), when there’s no title the title-div is not being generated anymore
- 1.1: Solved the issue with single-quotes being changed to typographical quotes
Known Issues
While the plugin is basically XHTML 1.0 Strict compliant there’s just no way of getting the offset-based line-numbering to display without inadequate (ab)use of javascript and css hacks, so be warned that IF you use the line-number offset, your documents will NOT validate because of the forbidden start=-attribute for the <ol>!
Documentation
More on the Highlight Source Pro Page
Installation
The plugin is simple to install:
- Upload the
highlight_source_profolder to your/wp-content/pluginsdirectory - Enable via Admin-Interface
How to Use
Set your code-blocks as <pre>-tags. If the language is supported by GeSHi (see file list in the /geshi-directory) use the filename (without extension) as language-attribute. If your code is encoded (html-entities; e.g. < is displayed as < – most likely the case if you write in the visual editor) add the enc__-prefix. For example for a php-codeblock you would start as follows:
<pre lang="php">
You can control various things:
* Start of Line-Offset, e.g. for #17: <pre class="17">
* define entity-encoded blocks, e.g. for php: <pre lang="enc__php">
* Define a title for your code-block that appears inside the block, but above the code lines. Everything in the same line as the opening <pre> tag will be considered the title, including HTML works fine:
<pre lang="php"><strong>This is</strong> an <em>example</em> with a <h3>headline</h3>
* disable line numbers by not specifying an offset
* combine all those things as long as you stick to the right order:
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 Highlight Source Pro alternatives
All code plugins →FAQ
Highlight Source Pro: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Highlight Source Pro free?
Yes. Highlight Source Pro is free to download and use from the official WordPress.org plugin directory.
Is Highlight Source Pro safe to use in 2026?
Highlight Source Pro shows warning signs in 2026 — compare the alternatives below before installing. It runs on 30+ sites and was last updated 19 years ago, and scores 24/100 on our health check.
How many websites use Highlight Source Pro?
Highlight Source Pro is active on 30+ WordPress websites and has been downloaded 14,046 times since it launched in April 2008. It was downloaded 120 times in the last 30 days.
Does Highlight Source Pro work with WordPress 7.1?
Highlight Source Pro is officially tested up to WordPress 2.5, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Highlight Source Pro last updated?
The latest version, 1.3, was released on April 10, 2008 (19 years ago).
Who makes Highlight Source Pro?
Highlight Source Pro is developed and maintained by kno.
What are the best alternatives to Highlight Source Pro?
The most popular alternatives to Highlight Source Pro 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

