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

Fixes #2321. Fix code format overriding inline link styles #2669

Closed
wants to merge 3 commits into from

Conversation

eztaK-red
Copy link
Contributor

Fixes #2321.

Does this by removing the gray font color of inline code blocks, but these were inconsistent with the gitbook editor anyway (plus I don't know how to allow the text to have its own custom color without overriding the inline link font color)

Also removes the inline-flex class name since it was responsible for overriding the underlined decoration of links. Results remain seemingly unchanged after removing it.

Before:
image
(Link in code font are indistinguishable from normal text)

After:
image
(Link in code font is correctly colored and underlined)

Does this by removing the gray font color of inline code blocks, but these were inconsistent with the gitbook editor anyway and I don't know how to both allow the text to have its own custom color without overriding the inline link font color.
Copy link

changeset-bot bot commented Jan 4, 2025

🦋 Changeset detected

Latest commit: 3dbc717

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
gitbook Patch

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

@gregberge
Copy link
Contributor

reopened in #2673 to avoid issues of forked PR

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.

Links in code font are not highlighted on the generated website
2 participants