Sorry for all the noise. I overlooked the <ul> in the middle of the list.

Thanks, and sorry,
Alan

On Wed, 3 Feb 2021 at 18:51, Alan Tyree <alantyree-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Don't think I was clear. Now I have:

   Hummus Recipes
   Traditional Hummus
    Lazy Hummus

What I want is:

   Hummus Recipes
        Traditional Hummus
         Lazy Hummus

In other words, Level 2 entries should be indented, Level 1 not. The HTML generated is all just a series of <li>s.
Am I missing something?
Thanks,
Alan

On Wed, 3 Feb 2021 at 18:18, John MacFarlane <jgm-TVLZxgkOlNX2fBVCVOL8/A@public.gmane.org> wrote:

It should be pretty straightforward to create CSS for the
TOC that indents the list items relative to the container.
You don't need any special classes for that.

Alan Tyree <alantyree-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> writes:

> I am helping a friend produce a recipe collection in html. Using
> toc-depth:2, I sort of expected the Table of Contents to have h2 referenced
> elements indented. Of course, they are not, and the generated <li> don't
> seem to have a 'handle' to get a css grip on.
>
> The "flat" toc is really quite ugly.
>
> Any clues?
> Thanks,
> Alan
>
> --
> Alan L Tyree                    http://www2.austlii.edu.au/~alan
>
> --
> You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
> To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAGMsgMwAMvxrQ7%2B5U-Vex7o8_Vbn8caPTUELs%2B2sYbM-P8ENNw%40mail.gmail.com.

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/m2sg6dfwme.fsf%40MacBook-Pro.hsd1.ca.comcast.net.


--
Alan L Tyree                    http://www2.austlii.edu.au/~alan



--
Alan L Tyree                    http://www2.austlii.edu.au/~alan

--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/CAGMsgMxumHiCANQO5rJo5WMkdwEMYqnTnvpUX%3DeqC%2B_qnWTugA%40mail.gmail.com.