Plugin info

Total downloads: 21,179
Active installs: 200
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 4/14/2008 (6470 days ago)
Added to WordPress: 5/12/2005 (20 years old)
Minimum WordPress version: 1.5
Tested up to WordPress version: 2.5
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 6470 days ago

20/100

Is Code Markup abandoned?

Possibly abandoned (last update 6470 days ago).

Compatibility

Requires WordPress: 1.5
Tested up to: 2.5
Requires PHP: f

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

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, will be rendered as emphasised text, but in an HTML code block, will be displayed as .

(I have to use square brackets instead of angle brackets because of the WordPress Extend site formatting.)

USAGE

  1. Enclose any code inside a block.

  2. Use to specify appearance of code.

    • Include any HTML markup you like in the code, for example to add emphasis to certain sections.
    • Separate blocks should be nested within a
       block to preserve whitespace.
  3. 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.

  4. The markup attribute overrides the lang attribute.

  5. Separate blocks should be nested within a

     block to
    preserve whitespace.