[Radiant] textile css classes / id's
Keith Bingman
keith at keithbingman.com
Wed Aug 23 15:26:33 CDT 2006
On Aug 23, 2006, at 10:02 PM, Josh Stockwell wrote:
> hi, I've been having a look at the http://textism.com/tools/textile/
> index.php web page and can't seem to find a way to apply a class to
> a list. I understand normally it would be
>
> p(rss). hi = <p class="rss">hi</p>
>
> but why doesn't this work?
>
> *(rss). hi = <ul class="rss"><li>hi</li></ul>
>
> any ideas...?
>
Josh,
when I use:
*(example) A first item
* A second item
* A third
I get:
<ul class="example">
<li>A first item</li>
<li>A second item</li>
<li>A third</li>
</ul>
Which is what I think you are after. Drop the "." and it should work.
I just tried this out at both Textism and in Radiant.
Another really great resource for Textile formatting comes from _why
for the Hobix blog thing he wrote. It is a bit more in depth that
textism, and it all applies to the Redcloth library.
http://hobix.com/textile/
Keith Bingman
www.keithbingman.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.radiantcms.org/pipermail/radiant/attachments/20060823/180f442c/attachment.html
More information about the Radiant
mailing list