WordPress plugin intelligence profile

Code Markup

Code Markup is a WordPress plugin that makes it easy to include program code samples in your posts.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 2.5
Current version1.3
WordPress coverageTested up to WordPress 2.5
Minimum stackWP 1.5 · PHP —
Directory statusactive
Last directory update14 Apr 200818y ago
Active installations200Adoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Code Markup version 1.3 as active, updated 18y ago and tested up to WordPress 2.5.

Overview

About this plugin

Code Markup is a WordPress plugin that makes it easy to include program code samples in your posts. You can even include HTML markup in the code sample; Code Markup magically knows which characters should be displayed as code and which should be rendered as HTML.

The plugin works by escaping most special HTML tags and characters so they display exactly as typed, but leaving certain ones alone so they will render as normal HTML. The default set of allowed tags is the standard formatting tags like em, strong, span and so on. You can control this explicitly, or implicitly by specifying the language of the code block.

For example, in a normal code block, <em> will be rendered as emphasised text, but in an HTML code block, <em> will be displayed as <em>.

)

USAGE

-

Enclose any code inside a <code> block.

-

Use <code markup=”…” lang=”…”> to specify appearance of code.

  • Include any HTML markup you like in the code, for example to add emphasis to certain sections.
  • Separate <code> blocks should be nested within a <pre> block to preserve whitespace.

-

If you want to fine-tune how Code Markup treats your code, use the markup and lang attributes on the code tag to specify how Code Markup should handle it.

  • <code> or <code markup=”default”> allows common HTML tags to be rendered, and displays everything else exactly as written.

-

-

-

  • <code lang=”html”> or <code lang=”xhtml”> displays content exactly as written, the same as <code markup=”none”>.

-

The markup attribute overrides the lang attribute.

-

Separate <code> blocks should be nested within a <pre> block to

preserve whitespace.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • html xml
  • code
  • format
  • html.xml
  • java
  • markup
Compatibility & maintenance

Compatibility & maintenance

Tested up to WordPress 2.5

Not yet marked as tested with WordPress 7.1. WordPress.org currently lists Tested up to 2.5.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to2.5
Minimum requirementsWordPress 1.5 · PHP not listed
Update activity14 Apr 200818y ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.