Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Optional table of contents in #110

Open
hyunlee1o opened this issue Aug 26, 2024 · 1 comment
Open

Optional table of contents in #110

hyunlee1o opened this issue Aug 26, 2024 · 1 comment
Labels

Comments

@hyunlee1o
Copy link

Is your feature request related to a problem? Please describe.
I have a single page in my website in which i have my own table of contents but the default layout requires me to rewrite a lot of stuff if i want to remove the TOC.
I prefer to have my own TOC because i made it using emojis which i think are more readable for some people, i made my own emoji code for concepts.

Describe the solution you'd like
I would like to be able to disable the TOC on a single page without disableing the feature for the whole website.

Describe alternatives you've considered
Writing my own _layout, i guess it wouldn't be that much work but i think someone might need this.

@Yehonal
Copy link
Member

Yehonal commented Sep 18, 2024

If you are using the "remote" theme, you could replace the components by just creating a file in the same position.

I've done a test here: Drassil/git-wiki@ce7201f

and this is the result:

image

Please let me know if it works for you

@Yehonal Yehonal added the wontfix label Nov 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants