Themes that support code?
-
Are there any WordPress.com themes now that have a CSS style (I think it would be a “class”) for code? This page is Google maps API documentation and they have a div with a gray bgcolor and border, that makes it easier to read (and presumably preserves formatting). This is the kind of styling I would like to see.
I’ve decided that I need the ability to post code samples with ease. Ideally my blog software would have syntax highlighting for popular languages like Java, and wouldn’t require that I convert character entities. I know there are plugins for WordPress standalone that would allow me to do this. I’ll move away from WordPress.com if I can’t find this feature. Current workarounds are inadequate for me.
Do you suggest I move away from WordPress.com, or is this important enough to WordPress.com that better handling of code samples by themes or rich editing or whatever, will be incorporated soon?
-
I don’t think any themes have that support built in but you could add it with the CSS upgrade. It allows you to modify the CSS for your theme. Take a look at the upgrade page within your dashboard for more details.
-
Since I don’t want to upgrade and modify my CSS, I’ve found that white, wide background themes work well with the Java code styler “Java2Html” here. I’m marking this issue as closed and will use online code stylers until WordPress includes code support (if ever).
http://www.java2html.de/applet.html
Example: http://anatkinson.com/2007/01/23/java-scanner-examples/
Thanks!
-
- The topic ‘Themes that support code?’ is closed to new replies.