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

How do I debug this target-text() issue? #151

Closed
Jeff-Tian opened this issue Aug 15, 2023 · 3 comments
Closed

How do I debug this target-text() issue? #151

Jeff-Tian opened this issue Aug 15, 2023 · 3 comments

Comments

@Jeff-Tian
Copy link

I referenced this https://pagedjs.org/documentation/-cross-references/ doc and tried to add a cross-reference but failed.

The content didn't show up, as the following image shows:

image

My CSS is as following:

image

I can see my target-text(attr(href url)) part was replaced to var(--pagedjs-7a859253-16a6-4fe6-a4ba-0e562277ec9b).

Was it because --pagedjs-7a859253-16a6-4fe6-a4ba-0e562277ec9b point to a non exist element? How could I debug it?

Reproduce URL: https://identity.jefftian.dev/main.html

@Jeff-Tian
Copy link
Author

Another simpler reproduce example: https://stackblitz.com/edit/vite-6c5kno?file=docs%2Fcross-ref.md

@Jeff-Tian
Copy link
Author

Fixed by adding a #, misled by this part:
image

@julientaq
Copy link
Collaborator

julientaq commented Aug 18, 2023

sorry i missed you issue.
you’re so right!

thank you. i’m gonning to fix that right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants