-
Notifications
You must be signed in to change notification settings - Fork 155
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 Anchors are not translated to confluence rules #492
Comments
See also #47 |
#522 includes a fix to make sure that anchors are case sensitive as confluence expects them to be. |
@DerGary this will be released in 11.3.0 Please let me know if it fixes the problem you see. |
@mrueg unfortunately it seems like it does not fix the issue. I briefly looked over the changes of your pull request and I could not find any changes regarding to links, just headings. But the problem that I was trying to explain is that the link created by mark when the link syntax is used like this: |
For the link anchors, I think there's no good way to know which one is correct and how to translate them. I thought this issue was about auto generated IDs from the headers, which should now match more closely what confluence expects. |
@mrueg Is it possible to add a second anchor to each heading that matches the markdown spec of link fragments? e.g: |
What happened?
I wrote my markdown file with relative anchor links to headings inside the same file and used the markdownlint suggested anchor links. These were not correctly translated to what confluence expects as the anchor links.
Example 1:
Resulted in link:
#jobs
but Confluence is expecting it to be case sensitive, it should therefore be
#Jobs
Example 2:
Resulted in link:
#thisis-some-headingyml
but Confluence is expecting it to contain symbols like this:
#this/is_some_heading.yml
It is not possible to change it beforehand because it won't work in the markdown file anymore.
What did you expect to happen?
Mark should check the markdown anchor links and translate them to the expected Confluence link style bevor generating the html for confluence.
How can we reproduce the behavior you experienced?
Steps to reproduce the behavior:
Use one of the example above with the current mark docker container.
Further Information (please complete the following information)
The text was updated successfully, but these errors were encountered: