Title: Code Tags
Last modified: August 19, 2016

---

# Code Tags

 *  [fergal1982](https://wordpress.org/support/users/fergal1982/)
 * (@fergal1982)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/code-tags-1/)
 * Hi.
 * I’ve been using WP for a couple of months now, for a development blog. I need
   to be able to write code extracts as part of the blog, but the ` tags dont seem
   to work very well. Whenever I use them, the spacing is lost. About all it seems
   to do, is change the font.`
 * What I need (and Im hoping is available) is tags that will create a box within
   the post, that will have its own scrollbars (if the code in the tags is too long/
   wide). Ideally, I'd like it to use colour coding such in line with VB, but its
   not essential.
 * I'm basing this on two examples of implementations on other (non-wp) sites. Notably
   the BB code tags on Certforums.co.uk, and devcity.net.
 * Its a long shot, but does anyone have any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/code-tags-1/#post-832561)
 * [http://wordpress.org/extend/plugins/tags/syntax](http://wordpress.org/extend/plugins/tags/syntax)
   
   one of those should work…
 *  Thread Starter [fergal1982](https://wordpress.org/support/users/fergal1982/)
 * (@fergal1982)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/code-tags-1/#post-832807)
 * Thanks. I went with WP-Syntax in the end. The colouring on the syntax for vbnet
   isnt necessarily perfect, but I found that the google syntax highlighter seemed
   to be just slightly too wide for the available space (so it was encroaching onto
   the sidebar).
 * May have a play with wp-syntax, and see if I cant clean up the colouring to my
   own liking at some point.
 * Thanks again.
 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [17 years, 10 months ago](https://wordpress.org/support/topic/code-tags-1/#post-832808)
 * Just a note: syntaxhighlighter plus should have a stylesheet where you can define
   the width of the code “window”.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Code Tags’ is closed to new replies.

## Tags

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

 * 3 replies
 * 2 participants
 * Last reply from: [moshu](https://wordpress.org/support/users/moshu/)
 * Last activity: [17 years, 10 months ago](https://wordpress.org/support/topic/code-tags-1/#post-832808)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
