Like the blog? Get the book »

Posts tagged: syntax highlighting

Archive page 1 of 1
Displaying Code Snippets on a WordPress Site

Displaying Code Snippets on a WordPress Site

Technically, there is nothing special about showing code on a WordPress site. You just wrap code in <pre></pre> (and probably , for semantics and font control) tags, something like this:

© 2009–2020 Digging Into WordPress Powered by WordPress Monzilla Media shapeSpace