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

[docs] Add table of contents #8

Open
HyuOniichan opened this issue Oct 31, 2024 · 2 comments
Open

[docs] Add table of contents #8

HyuOniichan opened this issue Oct 31, 2024 · 2 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request hot Priority

Comments

@HyuOniichan
Copy link
Owner

Problem
Every blog posts need a summary on top
Ref: laptrinhnextjs blog
image

Expected
Break down the content field into an array of objects:
{
heading: ...,
content: ...,
}
Make a summary with link to redirect (href="#...") to each section

@HyuOniichan HyuOniichan added documentation Improvements or additions to documentation enhancement New feature or request hot Priority labels Oct 31, 2024
@HyuOniichan
Copy link
Owner Author

Current
[docs] Broke down the content field
Future update
[style] Make the summary
[feat] Add nav link ( tag with href="#id")

@HyuOniichan
Copy link
Owner Author

Also update content in Preview section (#14)

@HyuOniichan HyuOniichan changed the title [docs] Update content field [docs] Add table of contents Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request hot Priority
Projects
None yet
Development

No branches or pull requests

1 participant