20130717 displaying code in a wordpress com blog - plembo/onemoretech GitHub Wiki

title: Displaying code in a wordpress.com blog link: https://onemoretech.wordpress.com/2013/07/17/displaying-code-in-a-wordpress-com-blog/ author: phil2nc description: post_id: 6080 created: 2013/07/17 15:35:31 created_gmt: 2013/07/17 19:35:31 comment_status: closed post_name: displaying-code-in-a-wordpress-com-blog status: publish post_type: post

Displaying code in a wordpress.com blog

How my code gets rendered on these pages is important to me. With most of the over 1,000 posts here being code-rich, that has made the transition to wordpress.com particularly painful. Those who have kept WordPress blogs on a paid hosting account generally have the freedom to install whatever themes and plugins they want, and to modify the shipping style sheets to get just the right look. I lost all that when I switched this blog over to wordpress.com, and now in addition to fixing image and page links I have to deal with a metric ton of code snippets whose default formatting leaves much to be desired. The task is not impossible, of course. In fact wordpress.com does have a simple default code formatting directive that renders code quite nicely: [code language="perl"] your code here [/code] There are a variety of options available for this method that can be found in the support article Posting Source Code. All I need to do now is figure out how to bulk change all my

 
tags to the new format and I'll be in business. Stay tuned for the eventual solution!

Copyright 2004-2019 Phil Lembo

⚠️ **GitHub.com Fallback** ⚠️