Closed fbolton closed 11 months ago
This looks good. I have one request, though. Could you write the anchor as follows?
[#_sample_figure]
When there is no reftext, we want to encourage the use of the modern, shorthand syntax.
I'll also need you to rebase, if possible, since other merges introduced a conflict. Thanks!
@mojavelinux I'll update the syntax and rebase the PR this evening. Should be ready for merging by tomorrow. Thanks for reviewing the PR!
Thanks @fbolton!
After that, I'll follow up on your other PRs as well. Thank you for your contributions to improve this converter!
Ping me in a comment when it's ready.
Previously, links to figures were broken, because no ID anchor was being generated for figures. This fix extracts the value of the
xml:id
attribute from thefigure
element and uses it to generate an anchor,[[XmlId]]
.