Automatic table of contents in articles

Comments

12 comments

  • Avatar
    Trevor DeVore

    This is a feature we have experimented with a bit internally. What sort of configuration options would you require for you needs?

    0
    Comment actions Permalink
  • Avatar
    József Barna

    Great, thanks for getting back to me. I can only think of one configuration option: a checkbox to include/exclude subheadings.

    0
    Comment actions Permalink
  • Avatar
    Trevor DeVore

    Perhaps a menu that allows you to select the maximum header depth to use? You would select a number between 1 and 4 and all headings up to that level would be included in the menu.

    0
    Comment actions Permalink
  • Avatar
    József Barna

    yeah, that sounds good.

    and, if the block is not editable, maybe an option to indent/not to indent the subheadings. if the block is editable, it's not necessary.

    0
    Comment actions Permalink
  • Avatar
    Trevor DeVore

    I don't think the block would be editable as that complicates things. So the option would be to have a hierarchal layout or a flat layout?

    0
    Comment actions Permalink
  • Avatar
    Greg DeVore

    They best way to handle this would be with CSS. A nested list would be created and you could control indentation with CSS.

    0
    Comment actions Permalink
  • Avatar
    József Barna

    yeah, that sounds reasonable. thanks.

    0
    Comment actions Permalink
  • Avatar
    József Barna

    hi! any news about this?

    0
    Comment actions Permalink
  • Avatar
    Trevor DeVore

    Unfortunately no. We haven't moved beyond the experiments that we had done earlier as other areas have taken priority.

    0
    Comment actions Permalink
  • Avatar
    József Barna

    ok, thanks for the update. btw, the insert heading links option you've recently added makes it much easier and faster to manually create the toc. so we're almost there anyway :)

    thanks!

    0
    Comment actions Permalink
  • Avatar
    Trevor DeVore

    I'm glad that feature is helpful in the meantime.

    0
    Comment actions Permalink
  • Avatar
    Nicholas Peebles

    Its been 8 months since this request.

     

    Any progress? i think i would like to see this feature implemented as well. 

    As you say, no customisation really as it complicates things, however Jozsef has a point and i think it would be wise to also implement a opt in opt out functionality to headings so you have the freedom to select particular headings to omit from the table of contents.

    I feel this would go hand in hand with the "level of indentation selection" thing.

    0
    Comment actions Permalink

Please sign in to leave a comment.

Powered by Zendesk