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

Do not underline links without an href. #373

Open
eloyesp opened this issue Jan 24, 2025 · 0 comments
Open

Do not underline links without an href. #373

eloyesp opened this issue Jan 24, 2025 · 0 comments

Comments

@eloyesp
Copy link

eloyesp commented Jan 24, 2025

A link without the href attribute works like normal text, it would be nice to make prose just ignore those.

Changing the selector from:

.prose a {
  /* styles */
}

To:

.prose a[href] {
  /* styles */
}

Should be enough.

It seems that it is a single line change on:

There are other rules that select "a", those can be changed too for consistency.

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

No branches or pull requests

1 participant