You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm looking at the provided marked markdown preset, specifically lines 25-30 where I think the table of contents for the page is being set. If I read this correctly, these lines are effectively a no-op, as collectedHeadings will always be an empty array at the time buildHierarchy is called. Am I missing something?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm looking at the provided marked markdown preset, specifically lines 25-30 where I think the table of contents for the page is being set. If I read this correctly, these lines are effectively a no-op, as collectedHeadings will always be an empty array at the time buildHierarchy is called. Am I missing something?
Beta Was this translation helpful? Give feedback.
All reactions