nus-cs2103-AY2223S2 / forum

12 stars 0 forks source link

Unable to display Table of Contents in my markdown file #359

Open kennethk-1201 opened 1 year ago

kennethk-1201 commented 1 year ago

I put in the following label:

- Table of Contents
  {:toc}

But the table of contents is not shown on my Github pages, does anyone know how to solve this issue?

Beebeeoii commented 1 year ago

could you try without the spacing before {:toc}, so something like:

- Table of Contents
{:toc}
markusyeo commented 1 year ago

Hello, I've encountered the issue before and typically it requires looking through the entire markdown file and making sure that your formatting is perfect!

Some issues that led me to not have the TOC generated are:

ARPspoofing commented 1 year ago

I encountered this problem as well and removing the space before {:toc} solved it just like @Beebeeoii mentioned