Title: Plugin for posting Code and Syntax
Last modified: August 31, 2016

---

# Plugin for posting Code and Syntax

 *  [erh](https://wordpress.org/support/users/erh/)
 * (@erh)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/plugin-for-posting-code-and-syntax/)
 * Hey all,
 * I’ve been having a hard time finding a simple plugin which will do what I need.
   I’m writing articles that involve showing programming code and need to highlight
   code blocks.
 * I’d like to be able to customize it, but essentially for code blocks, I need 
   a gray background and fixed-width font. But I still need to be able to bold/italics/
   etc to highlight individual words within the code block.
 * Potentially something that lets me add it simply with a shortcode in the visual
   editor.
 * I would also be open to creating my own CSS, but I don’t know how to tie a shortcode
   in the visual editor to a particular CSS div or span (or some such). If someone
   has a link with a guide, I would greatly appreciate it!

 The topic ‘Plugin for posting Code and Syntax’ is closed to new replies.

## Tags

 * [css](https://wordpress.org/support/topic-tag/css/)
 * [shortcode](https://wordpress.org/support/topic-tag/shortcode/)

 * 0 replies
 * 1 participant
 * Last reply from: [erh](https://wordpress.org/support/users/erh/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/plugin-for-posting-code-and-syntax/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
