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

Floating Header Link in GitHub #11

Open
MyriaCore opened this issue Oct 14, 2020 · 5 comments
Open

Floating Header Link in GitHub #11

MyriaCore opened this issue Oct 14, 2020 · 5 comments

Comments

@MyriaCore
Copy link

Having a little link icon next to headers appear on hover would be pretty cool!

@tajmone
Copy link
Owner

tajmone commented Oct 14, 2020

Having a little link icon next to headers appear on hover would be pretty cool!

Unfortunately that feature became broken in the original template which I've adapted, although it was present in earlier versions of the template, and wasn't fixed for quite a long time. I haven't checked if it was fixed, but I'll give it a look when I get time.

@MyriaCore
Copy link
Author

Any updates?

@tajmone
Copy link
Owner

tajmone commented Oct 27, 2020

I can confirm that the upstream GitHub template (replicated by @sindresorhus) has been updated, and now header links are working, as can be seen in the online demo:

https://sindresorhus.com/github-markdown-css/#h3

In order to update the local template I'll probably have to rebuild it from scratch, since the current version refers to an old GitHub template that was superseded by a new design.

I'm currently short of spare time due to a project with a very tight ETA, which is lagging behind. But I should be able to find a free day to dedicate to the template update somewhere in December, after the ETA is over.

In case I do forget, please feel free to buzz me and remind me about it! This template update is indeed required.

@MyriaCore
Copy link
Author

MyriaCore commented Oct 27, 2020

Awesome! December is a bit away, though. Is the task just related to updating the version of the Github CSS? That should be simple, no? If I have any free time soon I could try to PR.

@tajmone
Copy link
Owner

tajmone commented Oct 27, 2020

Is the task just related to updating the version of the Github CSS?

Probably not, there might also be some changes to the HTML. GitHub has updated its styles at least twice since the original template was converted, so classes name might have changed too, which would also affect some PP macros related to the template, and the sample and test files (hence the suggestion that it's best to just rebuild the whole template, and its Sass/CSS).

Of course, a PR is most welcome.

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

2 participants