Skip to content
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

Pages with empty internal links show up as backlinks to index note #1561

Open
Tracked by #1496
blacklightpy opened this issue Nov 3, 2024 · 3 comments
Open
Tracked by #1496
Labels
bug Something isn't working

Comments

@blacklightpy
Copy link

Describe the bug
I had a note that had a "[[]]" string in it, representing a note I forgot to link. The home page showed the note containing that string under backlinks. When I removed that string and pushed, the new build did not have the same mistake.

To Reproduce
Skipping

Expected behavior
It does not show up as a backlink.

Screenshots and Source
Too lazy, and not necessary, but the page containing "[[]]" was listed here:

image

Desktop (please complete the following information):

  • Quartz Version: [e.g. v4.4.0]
@blacklightpy blacklightpy added the bug Something isn't working label Nov 3, 2024
@saberzero1
Copy link
Collaborator

I believe this is intended behavior, as your link resolved to /, which is your root index file.

@saberzero1
Copy link
Collaborator

@aarnphm do we want to ignore empty links ([[]] => "[[]]"), remove them ([[]] =V ""), or include them (current, see issue)? I'll add it to the wikilink/markdownlink part of the parser rework.

@aarnphm
Copy link
Collaborator

aarnphm commented Nov 3, 2024

seems like [[]] on obsidian would just open to current file. We can probably ablate them

probably worth to have a notes somewhere noting deviation from obsidian rendering logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants