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

Heading links #18

Closed
Nightfirecat opened this issue Apr 17, 2022 · 2 comments
Closed

Heading links #18

Nightfirecat opened this issue Apr 17, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@Nightfirecat
Copy link
Contributor

Hugo automatically generates IDs for header elements via the functionality in the BlackFriday markdown parser, and it is a somewhat common feature to create <a> elements next to these headers (or appearing on hover) which link to these IDs for ease of copying links to specific headings on a blog post. Monochrome currently does not have any such link present, on hover or otherwise. Could this be added?

@Nightfirecat Nightfirecat changed the title Header links Heading links Apr 22, 2022
@kaiiiz
Copy link
Owner

kaiiiz commented Apr 24, 2022

I think this feature can be done by regular expression replacement for the .Content rendered from hugo. I'll add this to TODO, thanks for the suggestion.

@kaiiiz kaiiiz added the enhancement New feature or request label Apr 24, 2022
@kaiiiz
Copy link
Owner

kaiiiz commented May 26, 2024

Implemented in v3.1.0

@kaiiiz kaiiiz closed this as completed May 26, 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

2 participants