Need help? Check out our Support site, then

CSS for programming/console

  1. I have seen several blogs (for instance that have css styled for console or programming examples. Unfortunately, it is quite hard to search for css for "code" or "programming" as it pulls up enormous amounts of unrelated information. For the theme Twenty Twelve, is there any included class definitions that would allow me to easily set up a "pre" block as seen in the example? If not, does anyone have example css to look at for this sort of example?

    The blog I need help with is

  2. marianojmiguel

    Hi @aeriaglorisse, you can use the "code" shortcode to post syntax-highlighted code:

    [code language="css"]
    your code here

    The following languages are supported:

    actionscript3, bash, clojure, coldfusion, cpp, csharp, css, delphi, erlang, fsharp, diff, groovy, html, javascript, java, javafx, matlab, objc, perl, php, text, powershell, python, r, ruby, scala, sql, vb and xml

    For more information, take a look at

  3. Thank you that was what I was looking for.

Topic Closed

This topic has been closed to new replies.

About this Topic