-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
In markdown, update summary > heading style #1949
Conversation
🦋 Changeset detectedLatest commit: 8c29aea The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks like a good improvement. 👍
One thing that feels a bit weird is having that border not span across the whole width (due to being inline-block
). I played a bit around but couldn't really find a good solution.
So maybe for now we could remove that border and also the extra padding? Maybe by adding:
.markdown-body {
summary {
h1,
h2 {
border-bottom: none;
padding-bottom: 0;
}
}
}
It looks like your welcome Actions workflow may need some additional token permissions to run on non-member pull requests: permissions:
contents: read
pull-requests: write |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
Thanks for reporting.. 🙇 this follow-up PR #2048 should fix it. |
What are you trying to accomplish?
Rendering a heading in a summary tag in Markdown currently looks a bit goofy.
Hello Hello!
Some fantastical text
It would be great if instead it looked more intentional like:
This would also help the Docs team with accessibility for an upcoming project. For Hubbers, you should see the reference link below the original post of this pull request.
What approach did you choose and why?
I looked and tried to find the best file available for this. There doesn't appear to be any custom styling for details/summary in Markdown, just some general styles. Not sure if this would be a good global property, or better limited to just Markdown rendering.
What should reviewers focus on?
Hmmm... not sure :) Happy to make any needed changes.
Are additional changes needed?
cc @emilyistoofunky @parkerbxyz