fusuma icon indicating copy to clipboard operation
fusuma copied to clipboard

[feature request] ToC subsection support

Open 5n7-sk2 opened this issue 6 years ago • 1 comments

Type

  • [ ] bug
  • [x] feature request

Feature Request

I want to display subsections in ToC like below.

1. sec1 --------------- 1
  1.1 subsec1 ------- 2
  1.2 subsec2 ------- 3

You used to say that it is difficult to customize ToC because the component is provided by webSlides, but I think the feature is in demand, or can I already do that?

5n7-sk2 avatar Aug 06 '19 03:08 5n7-sk2

can I already do that?

Nope, I want to implement this feature. So we have to implement fusuma's comment before.

https://github.com/hiroppy/fusuma/blob/master/packages/mdx-loader/src/mdxPlugin.js#L41

memo: https://codepen.io/webslides/pen/VMZJwj

hiroppy avatar Aug 07 '19 20:08 hiroppy