quartz icon indicating copy to clipboard operation
quartz copied to clipboard

Quartz does not show notes in backlinks that refer to the current note in lowercase

Open tonygrr opened this issue 2 years ago • 5 comments

Describe the bug

Quartz does not show notes in backlinks that refer to the current note in lowercase.

To Reproduce

  1. Create two notes: Note â„–1 and Note â„–2;
  2. In Note â„–1, create a link to [[note â„–2]] (using lower case);
  3. Result:
    • link is a working link, you can follow it in the same way as in Obsidian;
    • "Note â„–2" will not display a link to note â„–1 in the backlinks panel.

Expected behavior

"Note â„–2" will show a link to "Note â„–1" in the backlinks panel.

Desktop

  • OS: [iOS, windows]
  • Browser [safari, chrome, edge]

tonygrr avatar Apr 21 '22 15:04 tonygrr

Could this be fixed by setting all URLs to be lowercase?

redirect issue/bug is related to this, and a global sanitation of URLs/links would help.

benbohmer avatar Apr 22 '22 11:04 benbohmer

Additionally, in the local graph, lowercase files are shown as /filename instead of their Yaml title.

heiders avatar Jul 01 '22 14:07 heiders

Is it possible to use a "slug" property from the frontmatter if present, instead of using the title?

irasanchez avatar Aug 19 '22 17:08 irasanchez

I also noticed this, as I'm using [[Wiki]] links notation instead (I achieved this by adding my notes inside content/ instead of content/notes). But I'd like to have Capitalized titles, and also, my Markdown fields have Capitalized names with spaces. I see that Quartz (or Hugo?) is removing spaces to -. Does anybody know which file or place this happens when creating the /public/content folder? Or is that done by hugo-obsidian?

I didn't find the spot yet. Otherwise, I'd add a lower there and see if that works.

sspaeti avatar Aug 27 '22 09:08 sspaeti

Hugo does this conversion automatically (as you can't have spaces in URLs!) but Quartz should account for this. This is a difficult bug to solve as some (but not all) filesystems are case insensitive

jackyzha0 avatar Aug 27 '22 15:08 jackyzha0

This issue should be fixed in Quartz 4. I'll be closing it for now but please reopen this issue if this persists in the new version.

jackyzha0 avatar Aug 20 '23 02:08 jackyzha0