[TxMt] syntax tool
Allan Odgaard
allan at macromates.com
Sun Jan 16 06:53:45 UTC 2005
On Jan 16, 2005, at 7:48, Allan Odgaard wrote:
> And then apply styles like this:
> tag[name=strong] { fontStyle: bold; }
> tag[name=em] { fontStyle: italic; }
> tag[name=u] { fontStyle: underline; }
Actually, this should go a bit further. Implicitly there would be
#element, #content, etc. So in fact one would use:
tag[name=strong]#content { fontStyle: bold; }
So that only the content of the element would be in bold.
More information about the textmate
mailing list