Replies: 1 comment 1 reply
-
Seems like a bug, if the markdown writer is generating links but the anchors aren't there. Please submit an issue for this. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I use link-citations: true to generate Hugo markdown( or you can say markdown_strict), the command I am using is:
I am using "link-citations: true" in my index.md file to generate citation links. There is a strange thing here, the reference list generated by pandoc doesn't contain any ID property to let linking. Here is the result:
If I generate HTML result of the above markdown file, the result will contain ID property:
So I'm curious, in the markdown output, if there is no ID attribute, in the final HTML page rendered by Hugo, there is no way for the citation of a reference to jump to the corresponding entry in the Reference list. If I want to make sure that a reference citation jumps to the corresponding reference entry, I need to manually put in an ID similar to the HTML output above.
So, is there any way to write this ID into the span tag when using the link-citations parameter to convert the markdown file?
Also, I'm wondering, is this considered a bug?
Beta Was this translation helpful? Give feedback.
All reactions