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

Hidden html objects as an alternative way to link to Roam blocks within a page #68

Open
Stvad opened this issue Dec 31, 2020 · 0 comments

Comments

@Stvad
Copy link

Stvad commented Dec 31, 2020

Hey, I notice that you're creating a separate "gatsby page" for each of the blocks as a way to make them referenceable and show backlinks for the blocks. Which is an ingenious approach actually!
I find it doesn't quite scale for my DB though (~35mb of JSON) :(

So I was wondering if one possible alternative approach can be injecting invisible html elements to which you can later link from elsewhere something like <div id="hidden_magic"/>

It doesn't solve tho problem of showing the backlinks to the block though 🤔 . One option can be make the element not a dummy but actually an indicator of number of backlinks if there are any, and show backlinks in popup?

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

1 participant