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

Internal page links that do not start with regular page link break in tables. #1559

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

Comments

@micoxion
Copy link

micoxion commented Nov 2, 2024

When using internal alias page links inside a table in the markdown, results in functional links with no text.

Steps to reproduce the behavior:

  1. Create a table and below it a header
  2. In the first column and row of the table add a link to the header like so: [[#header]]
  3. run npx quartz build --serve
  4. Resulting link in the html has no text

Expected behavior
Link text appears as described:
image

Screenshots and Source
If applicable, add screenshots to help explain your problem.

You can help speed up fixing the problem by either

  1. providing a simple reproduction
  2. linking to your Quartz repository where the problem can be observed

Desktop (please complete the following information):

  • Quartz Version: v4.4.0
  • node Version: v22.10
  • npm version: v10.9
  • OS: Windows 10
  • Browser: Opera GX
@micoxion micoxion added the bug Something isn't working label Nov 2, 2024
@micoxion
Copy link
Author

micoxion commented Nov 2, 2024

Forgot to add this image, which is the resulting table once built
image

@aarnphm
Copy link
Collaborator

aarnphm commented Nov 4, 2024

what is your link resolution?

@saberzero1
Copy link
Collaborator

what is your link resolution?

This issue is not related to link resolution. The problem occurs when linking to a heading in the current note. [[#heading]] doesn't work in Quartz, but does in Obsidian [[thisfile.md#heading]] works in both.

@aarnphm
Copy link
Collaborator

aarnphm commented Nov 5, 2024

TIL [[#heading]]

I have always been using absolute links for headings :)

@djotto
Copy link

djotto commented Nov 15, 2024

Workaround for single-word headers: [[#Head|Head]] (adding an explicit display text make the link render).

Multi-word headers appear to work, but fail for other reasons.

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

4 participants