Typora – Export HTML with TOC on Left Panel

Spent some time to research on this, and finally found a solution.




from v2ex.com

The implementation is very easy, only need to insert 3 lines of code to the heading part.

I made a few changes to the original JS and CSS file to make it more suitable with the Typora Newsprint theme.

Below is the compressed version:

Below is the uncompressed version.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.