Tip: How to make a Table Of Contents (TOC) For Article Template

36 Comments

  • Anh Le

    Done. But the format is still ugly.

     

    0
  • Eugene

    I followed the coding and instructions on this article, but the TOC is still not showing up in my articles. I'm sure if I got any of the coding wrong, but is it possible to provide your examples in code block?

    0
  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    Hi Eugene, can you share your Help Centre URL here?

    0
  • Eugene

    Ifra Saqlain believe it or not, I redid the code and it worked, I was an absolute idiot, thanks for the guide!

    0
  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    It happens when we do coding (I also do mistakes many times when I write code) so don't say idiot for yourself :), 

    0
  • Elizabeth Brown

    Hey folks,

    I want to use this tip to create automated ToCs.

    I also want to control where the ToC appears - ideally after the first couple of intro sentences, which provide context and tell you who can use the feature (which plan it's on).

    Is there any scope for creating an automated ToC that you can insert manually? or would this script not allow that option?

    I am primarily a content person not a code person, so I don't know if what I'm asking is feasible or not. 

    Please advise?

    Cheers

    EB

    0

Please sign in to leave a comment.

Powered by Zendesk