Title: How to hightlight code without a plugin?
Last modified: August 21, 2016

---

# How to hightlight code without a plugin?

 *  [olddocks](https://wordpress.org/support/users/olddocks/)
 * (@olddocks)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-hightlight-code-without-a-plugin/)
 * I am a theme developer, curious to understand how to highlight source code without
   using a plugin. How the whole thing works?
 * For example i would like to highlight php code wrapped inside pre tags.

Viewing 1 replies (of 1 total)

 *  [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * (@stephencottontail)
 * [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-hightlight-code-without-a-plugin/#post-4469407)
 * I’ve seen a lot of sites that use [SyntaxHighlighter](http://alexgorbatchev.com/SyntaxHighlighter/)
   for that. It only requires JavaScript and it looks like all you’d have to do 
   is enqueue the appropriate CSS and JavaScript files.

Viewing 1 replies (of 1 total)

The topic ‘How to hightlight code without a plugin?’ is closed to new replies.

 * 1 reply
 * 2 participants
 * Last reply from: [stephencottontail](https://wordpress.org/support/users/stephencottontail/)
 * Last activity: [12 years, 6 months ago](https://wordpress.org/support/topic/how-to-hightlight-code-without-a-plugin/#post-4469407)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
