WordPress Plugin

This is a highlight plugin for the blogging platform WordPress.


Highlight sources

The plugin code is located in the examples subdirectory.


  • Install highlight on your host
  • Upload the plugin directory the content to the `/wp-content/plugins/` directory of your wordpress installation
  • Activate the plugin


Paste the following in the code section of the blog editing form:

<pre lang="c">#include <stdio.h>

int main (void){
  printf("This is some random code");
  return 0;

Use the lang parameter to define the programming language (c, php, py, xml, etc). See the highlight documentation to learn all possible languages.

See the highlight.php file for some formatting options (line numbering, code indentation, line wrapping etc).


en/wordpress.txt · Last modified: 2015/04/10 18:06 by saalen
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0