airbnb / knowledge-repo

A next-generation curated knowledge sharing platform for data scientists and other technical professions.
Apache License 2.0
5.47k stars 688 forks source link

Jupyter notebook ToC not showing up in rendered post #561

Open bulam opened 4 years ago

bulam commented 4 years ago

I noticed for more recent Jupyter notebooks, the ToC is not showing up in the rendered knowledge posts. Older posts seem fine, so a change at some point seems to have broken ToC parsing for jupyer notebooks.

naoyak commented 4 years ago

This looks like it's happening in situations where Markdown cells contain manually written out heading tags rather than Markdown, e.g. <h1>Section heading</h1> rather than ### Section heading. Are there any cases where Markdown headings are improperly processed?