I had just started playing with TextWrangler, and then I saw this post that describes a very cool feature of SubEthaEdit. Since SubEthaEdit will colorize text, now you can make this available in xhtml.
In the Edit menu, there is a menu item named "Copy As XHTML". This will put the XHTML in your clipboard. The result will look something like:
<?php
include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
include_once( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
/**
* implements notification of
*/
class PluginSiteMap extends PluginBase
{
var $pluginEnabled;
var $cacheFolder;
include_once( PLOG_CLASS_PATH."class/plugin/pluginbase.class.php" );
include_once( PLOG_CLASS_PATH."class/net/http/httpclient.class.php" );
include_once( PLOG_CLASS_PATH."class/net/requestgenerator.class.php" );
/**
* implements notification of
*/
class PluginSiteMap extends PluginBase
{
var $pluginEnabled;
var $cacheFolder;
[via Paint The Tiger]
Technorati Tags: Mac OS X, Software, SubEthaEdit, TextWrangler
I've been working with an XHTML Validator, and I don't think this creates valid XHTML.
ReplyDeleteHi! if you encounter any invalidity of the xhtml please tell us, we'll fix it. Doing valid xhtml is really a goal for us!
ReplyDeleteAcutally, it might be just how WordPress is interpreting it as it passes through the template process...
ReplyDeleteI have to change all of the double-quotes (that I typed in) into ", and then change any double-quotes in the css code into single quotes in order to get it to validate.
ReplyDeleteI'm running under WordPress Multi-User. (Blogsome).