Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

TOC when previewing Markdown? #30

Closed
ivysrono opened this issue Jun 14, 2017 · 1 comment
Closed

TOC when previewing Markdown? #30

ivysrono opened this issue Jun 14, 2017 · 1 comment

Comments

@ivysrono
Copy link

ivysrono commented Jun 14, 2017

现有的 Markdown 预览已经很不错了,如果加上目录就完美了。
终于想起来了,这才是我不用 Seer 的最重要的理由。

@xupefei xupefei changed the title 预览 markdown 时能否加上侧边栏目录跳转? TOC when previewing Markdown? Jun 14, 2017
@xupefei
Copy link
Member

xupefei commented Jun 14, 2017

这个可以,因为markdown是用JS渲染的。
回头我看看有什么现成的轮子从HTML生成目录的。

EDIT: https://css-tricks.com/automatic-table-of-contents/
https://codepen.io/jtojnar/full/Juiop

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

2 participants