Skip to content


Subversion checkout URL

You can clone with
Download ZIP

pMCode Reference

Derek Jones edited this page · 9 revisions
Clone this wiki locally

ExpressionEngine supports the use of "pMcode" within your entries. pMcode is a simplified syntax that you can use to format your entries with bold text, links, and more. It is very similar (in many cases identical) to the codes used on many popular forum packages.


Headings are specified using [h] tags:

### Your Heading

Note: For Wiki headings please use only [h3].

Code Examples

When submitting HTML or PHP code examples, please wrap them in [code] ... [/code] tags:

[code]A code example here [/code]

URLs and Linking

[url=]my site[/url]

You can easily create links with custom text or simply with the URL itself as the link.

Font Sizes And Colors

[size=4]Hey look at this![/size]

You can specify font sizes as 1 through 6. 1 is the smallest and 6 is the largest.

[color=green]Some green text[/color]

You may also specify a color for the text. Further, these pMcodes can be nested.

[size=4][color=green]some larger green text[/color][/size]

Bold, Strong, Em And Italic

[b]some bold text[/b]
[strong]some strong text[/strong]
[em]some em text[/em]
[i]some italic text[/i]

Bold, strong, em and italic text is simple to add.

Strike Text

[strike]text stricken out[/strike]

This produces text with a line through the center of it. Note that the output of this tag is not valid in XHTML 1.0 Strict documents.

Email Links

[]click here to email[/email]

As with URLs, you can also format email addresses. These pMcode tags will automatically encode the email address to make it more difficult for "spam bots" to retrieve it.



You can easily display an image.


[quote]Some text. blah, blah, blah...[/quote]

You can surround text written by someone else which you'd like to "quote". These tags will be replaced with <blockquote> HTML tags.

Pre-Formatted Text

&#91;pre]Some pre-formatted text...&#91;/pre]
&#91;code]Some pre-formatted text...&#91;/code]

You can submit pre-formatted text such as script examples. These will be replaced with <pre> </pre> HTML tags. Whitespace and line wrapping will be preserved as you input it. Note that very long lines will not automatically be wrapped and thus these could affect your site layout.

Something went wrong with that request. Please try again.