Stack Overflow formatting for Wordpress
Asked Answered
U

1

10

I've become so accustomed to stack overflow style formatting that I find it a hassle to format things manually in HTML anymore - specifically for blog posts.

Is there anything enabling stack overflow style formatting for word press?

Something akin to the markdown plugin for wordpress - http://wordpress.org/extend/plugins/markdown-for-wordpress-and-bbpress/

Also, I'm not sure if this is meta enough for it to belong on meta overflow

Unread answered 30/6, 2010 at 5:2 Comment(1)
Nope, this pertains to WordPress more than Stack Overflow.Repertoire
H
7

You want to use the Code Block Enabler plugin which encapsulates Google Prettify which is the same code formatter that Stack Overflow uses. Once you have turned that on simply alter the CSS for prettify to match the Stack Overflow colors. (Shameless plug: I did the same thing myself on my blog because I liked the formatting here as well).

Hoeve answered 30/6, 2010 at 5:10 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.