Code Markup

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>.

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

USAGE

  1. Enclose any code inside a <code> block.

  2. 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.
  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.

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

Code Block Enabler

A filter that displays blocks nicely while still allowing formatting and also colorizes the output using Google Prettify...

Similar: 37%

No Markup Please

It can be annoying when visitors post large blocks of code in a comment. "No Markup Please" plugin checks comment submissions for markup and if there is too much code it will trigger an error message of your choice....

Similar: 34%

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....

Similar: 25%

Escape HTML

To show <b>text</b> to visitors we need to enter &lt;b&gt;text&lt;/b&gt; in our WordPress Text editor. For posting code online, three characters (<, > and &) need to be escaped. We can do that online tool, manually converting < to < etc. or using easy to .........

Similar: 17%

Escape HTML For Prism Syntax Highlighter

This plugin is a extension of my earlier plugin Escape HTML. Many of us post code and scripts online on WordPress and for that we need to escape those codes to html entities. For posting inside WordPress, we need to escape few characters so that it appears as it is to visitors. There are few online .........

Similar: 16%

WP-Beautifier

Beautifier provides the following options to clean up WP's messy (X)HTML source code output: Strip unnecessary whitespace, like new lines and trailing whitespace Format (indent) the (X)HTML source code output Remove all HTML comments Convert single quoted tag attributes values into uniform double .........

Similar: 14%

WP-No-Format

The idea of this plugin is to let you stop WordPress from formatting your HTML in specific parts of your posts. It's very simple to use, you just have to write: <!-- noformat on --> on the WordPress Editor, just before the part you want to protect, and from that point on, WordPress won't to.........

Similar: 14%

Developer Formatter

Create a better display of codes on your page/blog. For everybody that publish examples, source-code and some tips about a specific language. This plugin do use of GeSHi highlight system, so you will have support for more then 110 languages, including PHP, ASP, Html, JavaScript, CSS, Java, Python, D.........

Similar: 13%

Wp-Syntax Hacktify

A plugin allowing you to change the WP-Syntax code highlighting color scheme elegantly. WP-Syntax rawks for writing about geeky stuff, but I want it more blacker. And I want a CSS file to hack instead of those icky and inefficient inline styles. I got the basic idea from WP-Syntax-Colorizer but w.........

Similar: 10%

SmartFilter Security

Building the perfect blog takes time and effort. Hackers only need seconds to jeopardize your work. SmartFilter Security suits the needs of every kind of blogger. It is simple to use but intelligent, giving users the freedom to enhance their blogs without ever having to worry about or even understa.........

Similar: 5%