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

Increase font size of headings in metabar table of contents #7374

Closed
wants to merge 1 commit into from

Conversation

yaten2302
Copy link

Description

This PR increases the font size of the headings in table of contents.

Validation

Before:
image

After:
image

Related Issues

Fixes #7275

Check List

  • I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • I have run npm run format to ensure the code follows the style guide.
  • I have run npm run test to check if all tests are passing.
  • I have run npx turbo build to check if the website builds without errors.
  • I've covered new added functionality with unit tests if necessary.

Signed-off-by: Yaten Dhingra <yaten598@gmail.com>
@yaten2302 yaten2302 requested a review from a team as a code owner December 31, 2024 05:46
Copy link

vercel bot commented Dec 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
nodejs-org ✅ Ready (Inspect) Visit Preview Dec 31, 2024 5:47am

@bmuenzenmeyer
Copy link
Collaborator

sorry, this is not the approach we need - the original issue should be amended to be more prescriptive I guess.

We need to go way deeper into the mdx compilation / data gathering step to determine the heading level of each heading, h2 vs h3, etc, so that they can rendered differently. this and #7286 both do not achieve that

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

Successfully merging this pull request may close these issues.

Visually differentiate H2 from H3 headings in Metabar Table of Contents
2 participants