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

Link headings are not distinguished #489

Open
ericswpark opened this issue Feb 12, 2024 · 3 comments · May be fixed by #525
Open

Link headings are not distinguished #489

ericswpark opened this issue Feb 12, 2024 · 3 comments · May be fixed by #525
Assignees
Labels
bug Something isn't working

Comments

@ericswpark
Copy link
Contributor

Describe the bug
Headings that are links are not distinguished from ones that aren't which makes it hard to tell whether a heading is a link or not

To Reproduce
Steps to reproduce the behavior:

Write any heading with markdown #, like this

# [This is a link](https://github.com)

Expected behavior
A clear and concise description of what you expected to happen.

"This is a link" should show blue, and have hover CSS so that it is clearly distinguished as a clickable link

Screenshots
If applicable, add screenshots to help explain your problem.
Regular heading:

image

Link heading:

image

Desktop (please complete the following information):

  • OS: [e.g. iOS] Windows
  • Browser [e.g. chrome, safari] Firefox
  • Version of the Theme v1.13.0
  • Version of Hugo (run a hugo version if unsure) v0.121.2-6d5b44305eaa9d0a157946492a6f319da38de154+extended

Additional context
Add any other context about the problem here.

@ericswpark ericswpark added the bug Something isn't working label Feb 12, 2024
@lxndrblz
Copy link
Owner

lxndrblz commented Apr 9, 2024

@ericswpark Hi, what would be a use case for this?

Personally, I can't think of when this could be needed.

@ericswpark
Copy link
Contributor Author

@lxndrblz I was trying to link to a website in part of a heading, like this:

# Everything goes [here](https://example.com)

But because it's not distinguished viewers didn't know to click on it. I had to separate it out into the text below, but it would be nice if links have link styling and was more visible.

ericswpark added a commit to ericswpark/anatole that referenced this issue Oct 21, 2024
@ericswpark ericswpark linked a pull request Oct 21, 2024 that will close this issue
12 tasks
@ericswpark
Copy link
Contributor Author

The PR I just made addresses part of the problem, where the link lights up on hover. This at least gives some indication that the heading is clickable upon moving the cursor over it, but ideally heading links should have underlines, or have some sort of accent color to distinguish it from regular headings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants