openpatch / hyperbook

Hyperbook is a quick and easy way to build interactive workbooks, that support modern standards and runs superfast.
https://hyperbook.openpatch.org
MIT License
32 stars 7 forks source link

Static header link names #627

Closed xeruf closed 1 year ago

xeruf commented 1 year ago

The name of a section can change, but if I link to the hyperbook, I would like the link to stay consistent. Maybe an option to add a reference alias to a header, like the heading id in org-mode?

mikebarkmin commented 1 year ago

I encountered the same problem. I think mamy markdown engine support custom ids like so:

### My Great Heading {#custom-id}

I am going to implement it the next days.

mikebarkmin commented 1 year ago

Implemented in 764a681e4a8b0135ffa83f0a30c4cda23b79babd

xeruf commented 1 year ago

thank you - all such features are native in org-mode/orgdown, we should really consider the switch :)