Closed ZeppLu closed 6 years ago
The current TOC-generating script is just a too young too simple toy for demo page. It's not even included in HyperMD package.
Feel free to modify demo/toc.js and submit a pull request.
Or wait for an official TOC extractor script. (It will be provided as one of HyperMD goods ). Maybe in this month?
I'm too naïve to do this, look forward to next release
I tried on https://laobubu.net/HyperMD/#./docs/zh-CN/README.md with the following text:
The result is:![image](https://user-images.githubusercontent.com/17007549/43637774-d4096264-9748-11e8-8f3f-436d8c8c60e6.png)