By Namith J –
May 30, 2010Posted in: Syntax Highlighting
You can add a code snippet to a page using the [ code] short-code.
You can either enclose the code snippet between [ code] and [ /code]

OR
Add the code in a custom field and then add the custom field name to the short-code as follows [ code custom='blah'][ /code]


Related posts:
- How to set the language of a code snippet added to a page for proper formatting
- How to activate Syntax Highlighting for code snippets in posts and pages
- How to enable Syntax Highlighting in Theme and Plugin Editors
- How to prevent wordpress from messing up my code snippets