Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

[feature request] ToC subsection support #181

Open
1 of 2 tasks
5n7-sk2 opened this issue Aug 6, 2019 · 1 comment
Open
1 of 2 tasks

[feature request] ToC subsection support #181

5n7-sk2 opened this issue Aug 6, 2019 · 1 comment
Labels

Comments

@5n7-sk2
Copy link

5n7-sk2 commented Aug 6, 2019

Type

  • bug
  • 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?

@hiroppy
Copy link
Owner

hiroppy commented Aug 7, 2019

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants