Preserve Code Formatting is a WordPress app, with a 4.7 average rating from 3 reviews, as of Aug 31, 2026.
Preserve Code Formatting is a WordPress Plugin Directory app by Scott Reilly. With a rating of 4.7★ from 3 reviews.
AppRanks verdict
Generated from live marketplace data — refreshed daily
Preserve Code Formatting is a highly rated WordPress app with a limited review volume. Category data on the canonical marketplace listing is currently incomplete, so AppRanks falls back to platform-wide rather than category-relative comparison for this listing. 3 reviews put it in the early-traction tier — useful for early-stage stores willing to be on the leading edge. Early-traction review counts are sensitive to single launch periods or feature events, so a 30-day re-check before bigger commitments often resolves whether the trend is sustained. Paid-only pricing means evaluating fit on the marketplace listing or via the developer's documentation before installing. AppRanks tracks rating, review count, pricing tier, and category position daily — the figures on this page reflect the most recent scrape from the canonical WordPress Plugin Directory listing.
Pros
- +High average rating (4.7★) signals consistent merchant satisfaction
- +Published by Scott Reilly — established developer track record
Cons
- −Limited review base (3) — ratings can shift significantly with new feedback
Looking to switch from Preserve Code Formatting?
See Preserve Code Formatting's alternatives ranked by audit score, rating, and review velocity.
How Preserve Code Formatting works
Show full descriptionShow less
This plugin preserves formatting of code for display by preventing its modification by WordPress and other plugins while also retaining whitespace.
NOTE: This plugin does NOT handle posts containing blocks. For such posts, use the built-in code or preformatted blocks to format your code for display. However, this plugin would still be needed if you have text-based posts from before using the blocks-based editor.
NOTE: Use of the visual text editor will pose problems as it can mangle your intent in terms of code tags. I strongly suggest you not use the visual editor in conjunction with this plugin as I have taken no effort to make the two compatible.
Notes:
Basically, you can just paste code into code, pre, and/or other tags you additionally specify and this plugin will:
Prevent WordPress from HTML-encoding text (i.e. single- and double-quotes will not become curly; “–” and “—” will not become en dash and em dash, respectively; “…” will not become a horizontal ellipsis, etc)
Prevent most other plugins from modifying preserved code
Prevent shortcodes from being processed
Optionally preserve whitespace (in a variety of methods)
Optionally preserve code added in comments
Keep these things in mind:
ALL embedded HTML tags and HTML entities will be rendered as text to browsers, appearing exactly as you wrote them (including any br tags).
By default this plugin filters ‘the_content’ (post content), ‘the_excerpt’ (post excerpt), and ‘get_comment_text (comment content)’.
Example:
A post containing this within code tags:
$wpdb->query(" INSERT INTO $tablepostmeta (post_id,meta_key,meta_value) VALUES ('$post_id','link','$extended') ");
Would, with this plugin enabled, look in a browser pretty much how it does above, instead of like:
$wpdb->query(— INSERT INTO $tablepostmeta (post_id,meta_key,meta_value) VALUES ('$post_id','link','$extended') ―);
Links: Plugin Homepage | Plugin Directory Page | GitHub | Author Homepage
Competitors & alternatives
AppRanks tracks competitor sets per category. For Preserve Code Formatting, the independent listing audit includes a competitive context section, and the full WordPress app index shows the broader marketplace landscape this app competes in. Sign up free to surface a side-by-side competitor matrix customized to your tracked apps.
Frequently asked questions
What is Preserve Code Formatting?
Preserve Code Formatting is an app for WordPress. It currently holds a 4.7-star rating from 3 merchant reviews, and AppRanks has been tracking its public marketplace data on the refresh cadence published in our methodology. AppRanks tracks its category position, review-velocity trend, and the top alternatives in the same space. Developed by Scott Reilly.