laobubu / HyperMD

A WYSIWYG Markdown Editor for browsers. Break the Wall between writing and previewing.
MIT License
1.47k stars 137 forks source link

[BUG] underline style header does not appear in TOC #46

Closed ZeppLu closed 6 years ago

ZeppLu commented 6 years ago

I tried on https://laobubu.net/HyperMD/#./docs/zh-CN/README.md with the following text:

# 1

1.1
------

## 1.2

The result is: image

laobubu commented 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?

ZeppLu commented 6 years ago

I'm too naïve to do this, look forward to next release