-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[v2] Add Table of Content #415
Comments
I was looking at docsy to see how they approached it. They have it like a side bar. The responsive view for it is pretty nice too. (Happens when the navigation button is selected) Their approach seems to be like "side bar" normally but changes to be "on top" when the screen becomes smaller. Seems to be like one of the approaches that can be used. That being said also, if it is a side bar, when users navigate down on the main contents, they would be navigating away from the side bar. (Depending on the amount of contents in the sidebar table of contents). So should the it be in a fixed position at the side? Meaning when the user navigates the main contents, the sidebar position stays the same? With regards to the top style, it seems that it might be too many contents there causing it to occupy too much space. What do you think of their approach? |
I think a side like docsy have doesn't fit well with coder's style. LoveIt, that someone mentioned in #329, looks like a better option. It also stays on top in smaller screens. But I still have mixed feelings about this issue. I really don't know yet which of these approaches is the better one. OFFTOPIC: I just discovered that LoveIt is based on other themes that are based on coder, and this is very nice. :) |
Is it possible to render any table of contents at all (even if not styled yet) with this theme? Any help on how to get a simple TOC? |
@luizdepra This is my
But I dont' see any a ToC in my posts when running |
@pinpox, nop. No need to change your markdowns. I just did the same thing and tested with Are you certain that you are testing against a post with correct headings? |
If you are using VScode you can create this type of TOC using "markdown all in one" plugin. |
I added a table of contents to my blog。 if you think this style is ok, I would be happy to create a pull requset https://chenkai.life/web/handling-fonts-in-the-web
|
Hi. I want to know how is the progress of this feature? Thanks a lot for your development! |
Add TOC support.
I need to decide with style to use first.
(I didn't like the aside style. I'll probably go with the on top style.)
See discussion in #329.
The text was updated successfully, but these errors were encountered: