-
-
Notifications
You must be signed in to change notification settings - Fork 8.7k
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
Add Toc to blog posts #2717
Comments
Swizzle the components. |
sorry, I don't understand the meaning of "Swizzle the components"。 I read the V2 documentation and it seems that only Docs has TOC, but V1's blog supports TOC |
Yes @skychx you can swizzle the blog post page, it should have a property "rightToc" assigned to it, and you can reuse the Headings comp of the classic theme to render it. Do you think we should provide this feature out of the box for blog posts too? |
YES! I think this is a very useful feature to clearly show the structure of the article. |
may I shoot PR for adding the "Recent Post" section to v2 docusaurus? I think this feature is still needed, thank you @slorber |
Recent posts and TOC seems like useful things PR welcome 👌 |
I would love to work on the TOC feature! 😃 |
yes @amy-lei thanks |
Is it possible to do this at this point (add a table of contents to a
as suggested above, but I got loads of |
💥 Proposal
(A clear and concise description of what the proposal is.)
Docusarus v2 -54
How to add a Table Of Contents to Blog Posts like docs have.
Have you read the Contributing Guidelines on issues?
(Write your answer here.)
The text was updated successfully, but these errors were encountered: