what about nested lists with numbered? среда, 6 февраля 2008 г., 15:14:03 UTC+4 пользователь Nathan Weizenbaum написал: > > You're Giving two things as the content for the second <li>: "Item" and > the <ul>. If you want both to be nested beneath the <li>, you have to > indicate that explicitly: > > %ul > %li Item > %li > Item > %ul > %li Item > %li Item > > > - Nathan > > [email protected] <javascript:> wrote: > > Hi, > > > > I've just started using Haml and Sass and so far I've been finding > > them really great. > > > > However I am having trouble with trying to write out a simple nested > > list like this: > > > > <ul> > > <li>Item</li> > > <li>item > > <ul> > > <li>sub item</li> > > <li>sub item</li> > > </ul> > > </li> > > </ul> > > > > In haml: > > > > %ul > > %li Item > > %li Item > > %ul > > %li Item > > %li Item > > > > but it doesn't seem to work, am I doing something wrong? > > > > > > Many thanks. > > > > > > > > > > >
-- You received this message because you are subscribed to the Google Groups "Haml" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/haml?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
