-
Notifications
You must be signed in to change notification settings - Fork 195
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
Ids for local anchors in headlines differ to them on Github #288
Comments
I'll see if that's possible, we should be able to get close to that. By any chance do you know if GitHub has a documentation on the rules used to change titles to ids ? |
I am not a markdown guru ... what I found: Github has a documentation: Gitlab tells a bit more: https://docs.gitlab.com/ee/user/markdown.html#header-ids-and-links
|
Thanks for the links, I changed the permalinks and they should be compatible with GitHub and GitLab for most cases. The changes are in the master branch and should be released in the next few days |
Released in version 0.18.0 |
(Maybe it is a feature request - not a bug)
Describe the bug
Local anchors of md files in a docs folder have another id in the rendered view on Github or Gitlab - compared to the local anchors in the daux rendered page.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
If I publish my code and md files in docs folder on Github and want to use local anchors in the markdown then I must decide: shall they work for Github rendering or for the generated pages with Daux.
[my local link](#somewhere)
vs.[my local link](#page_somewhere)
It would be good if Daux would create the ids of headlines in the same way like Github does:
Screenshots
none
Desktop (please complete the following information):
Linux; PHP 8.0.14; Daux 0.17.2
Smartphone (please complete the following information):
none
Additional context
none
The text was updated successfully, but these errors were encountered: