Unresolved reference when the header has an icon
I have this link referencing to a block in my file:
- [π Modules](#modules)
And the real block looks like this: `## π Modules
Each module has its own detailed documentation .....: `
But the link is not referencing properly due to the icon in the header. How can I solve that? Thank you in advance!
Hey! Yea this is def an issue
Would you be up for giving this a shot yourself?
This would be a modification to the header parsing regex + adding a unit test for it.
The parsing is pretty well tested; here's an example PR updating the parser: https://github.com/Feel-ix-343/markdown-oxide/pull/268 -- made just today!
hmm still not working. It might be also not supported by markdown in general.
Other Issue I found is this:
- π Accessing Airflow
This is showing as "Unresolved Reference" but I can jump to the header
ah I meant that PR was an example of how to update oxide parsing, not that it fixed your issue.
Would you want to give this a shot?
π Feel-ix-343 is offering a $5 bounty for this issue. View and reward the bounty at algora.io/Feel-ix-343/markdown-oxide/issues/267
π Got a pull request resolving this? Claim the bounty by commenting /claim #267 in your PR and joining algora.io
Hello, I tried reproducing this issue using the following snippet:
## π Modules
Each module has its own detailed documentation...
---
# References:
- [π Modules](#π Modules)
In this case the reference works correctly. However, in @franroaβs original message, the link was written as:
- [π Modules](#modules)
This attempting to reference a heading called modules without the emoji. markdown-oxide doesnβt appear to be case-sensitive, but the emoji cannot be skipped. So a valid reference would be [π Modules](#π Modules) or [π Modules](#π modules).
@franroa, could you confirm if the issue was just the malformed reference? If not, would you mind sharing a snippet or details about the platform youβre using so we can try to reproduce it?
Thanks!
Yes, I tried this too. OP's initial message was wrong. It also did not work in obsidian too.