• Resolved prodport

    (@prodport)


    Is there a way to exclude a heading from appearing in the TOC? To give context, I have a section right after my intro that lists what people will learn. I then have my TOC. I would like to exclude this heading from showing in the TOC.

    I know I can change to a different H level and apply a class to make it show the same as my H2, but I don’t want to do for accessibility reasons.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support aapc

    (@aapc)

    Hi @prodport,

    I’m glad you reached out!

    Yes, you can exclude a heading from the TOC. You simply need to add the class toc-ignore to the heading. You can do this under the Advanced tab of the settings under Additional class(es).

    Let me know whether that works or if you have any other questions.

    Thanks!
    Anthony

    Thread Starter prodport

    (@prodport)

    Thanks. That worked and I could see it removed once I published the post.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Exclude Heading from Table of Contents’ is closed to new replies.