Steps to reproduce
- Create a new vault
- Turn off Wiki links
- Create a file called
one
:
# Section One
- Create a file called
two
- Write
[[one#Section One]]
Did you follow the troubleshooting guide? [Y/N]
Yes
Expected result
I don’t know if there’s any offical standard for how should section link should look like, accordin to the StackOverflow Answer, the generated link should be [one.md](one.md#section-one)
.
Actual result
Obsidian will replace that to [one.md](one.md#Section%20One)
which will make the link broken in Github. If the link is manually changed to Github’s convention then it will no longer point to the section when clicking on it in Obsidian.
Environment
I’m not sure debug info is relevant
Additional information
Since this isn’t covered in the Markdown spec I suggest either having a configuration option to maintain compatibility with Github. If adding a configuration is undesirable I would suggest that Obsidian will generate links as it does now, but support both forms when clicking on a link inside it.