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

[Issue] Add option to copy anchor links from article #21

Open
1 task done
lealceldeiro opened this issue Jan 15, 2024 · 0 comments
Open
1 task done

[Issue] Add option to copy anchor links from article #21

lealceldeiro opened this issue Jan 15, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@lealceldeiro
Copy link
Owner

lealceldeiro commented Jan 15, 2024

What is the issue about?

I'd like to have an option to copy the direct link to a section of an article.

Let's say there's an article "hello word". Inside that article the're a section (h2) with title: "How to start".

I'd like to have at the left of the text How to start an element (maybe shown only on hover) which when clicked copies to the clipboard the direct link to that section of the article (example: https://lealceldeiro.github.io/articles/2024/hello-word.html#how-to-start).

For this to work, first, every header (or relevant article section) must declare a valid id for the html element. Second: the copy to clipboard feature must be implemented -- related to #15 --

Code of Conduct

  • I agree to follow this project's Code of Conduct
@lealceldeiro lealceldeiro added the enhancement New feature or request label Jan 15, 2024
@lealceldeiro lealceldeiro self-assigned this Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant