Code Formatting
Posted: May 8th, 2009 | Author: Christopher Vigliotti | Filed under: ColdFusion, WordPress | No Comments »I’m checking out WP-Syntax, a WordPress plugin that makes short work of sharing code samples…
1 2 3 4 5 6 7 8 9 10 11 | <cfscript> variables.cheeses = StructNew(); variables.cheeses.Gouda = CreateObject("component", "Cheese").init( datasource="cheesyDB", name="Gouda" ); </cfscript> <cfoutput> #variables.cheeses.Gouda.getDescription()# </cfoutput> |
If anyone has any tips for modding WP-Syntax or an alternative solution feel free to drop me a comment.
Leave a Reply