Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Support for linkifying headlines #120

Open
therealpxc opened this issue Oct 15, 2024 · 0 comments
Open

Support for linkifying headlines #120

therealpxc opened this issue Oct 15, 2024 · 0 comments

Comments

@therealpxc
Copy link

Go-org already supports setting link anchors if a headline's CUSTOM_ID property, if set. This is great. 😁

However, one thing it doesn't do that I miss from Hugo's Goldmark exporter is make it so it's easy to grab a headline's anchor link while looking at the headline, without going back to a table of contents or something like that. (For Markdown, Hugo will put little links next to each headline that show up when you hover.)

Org mode itself supports a very similar feature in its HTML exporter, whereby the headline itself is made into a link on the page, which points to its own anchor. This is controlled in Emacs by the org-html-self-link-headlines variable.

It would be great if go-org supported an equivalent option!

@therealpxc therealpxc changed the title Support for linkifiyng headlines Support for linkifying headlines Nov 2, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant