Using it is as simple as:
- Paste your source code
- Hit Highlight
- Copy and paste the HTML
You can also customize the embedded css style information and pick the language. I added a font size style to the css "font-size:small;" and here is what it looks like:
- (void)alertViewCancel:(UIAlertView *)alertView { if( m_alertBlock != nil ) { m_alertBlock( kAlertViewCanceled ); m_alertBlock = nil; } }
The nice thing about this solution is that everything needed is embedded in the HTML block so there is no setup required on the blog itself.
Please feel free to follow me on twitter at @fivelakesstudio. I would love to hear if this was useful and what you do to show source code on the web.
Thanks for reading and be sure to visit us at Five Lakes Studio.
Great short and simple
ReplyDeleteThanks for sharing
Submersible Pumps