doks icon indicating copy to clipboard operation
doks copied to clipboard

how to enable toc

Open bigsinger opened this issue 9 months ago • 4 comments

Description

Describe the issue that you're seeing.

Steps to reproduce

Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).

Expected result

What should happen?

Actual result

What happened.

Environment

Paste the information here as shown by npm run info

Default has no effect, and I couldn't find how to configure it in the official website documentation

bigsinger avatar Mar 18 '25 03:03 bigsinger

Description

Describe the issue that you're seeing.

Steps to reproduce

Clear steps describing how to reproduce the issue. Please please please link to a demo project if possible, this makes your issue much easier to diagnose (seriously).

Expected result

What should happen?

Actual result

What happened.

Environment

Paste the information here as shown by npm run info

Default has no effect, and I couldn't find how to configure it in the official website documentation

want this effect : https://bcinfosec.club/info/about-us/infosec-leadership-and-advisors/

bigsinger avatar Mar 18 '25 03:03 bigsinger

See: https://github.com/thuliteio/doks/discussions/1305#discussioncomment-11380645

h-enk avatar Mar 20 '25 15:03 h-enk

I found an interesting thing: if the title in an article is a first level title, there will be no hierarchical structure, but if the title starts from a second level title, there will be a hierarchical structure.

You can fix this issue so that the first level title can also work.

@h-enk

bigsinger avatar Mar 21 '25 01:03 bigsinger

另外,这个字样可以去掉,显示出来很奇怪啊: On this page

Image

bigsinger avatar Mar 21 '25 01:03 bigsinger