Replies: 2 comments 1 reply
-
I see how I would get a list of linked mentions using Obsidian's embedded query:
Is it possible to take the results of an Obsidian Query statement and count those in a dataview block? |
Beta Was this translation helpful? Give feedback.
1 reply
-
I came up with a temporary solution. It doesn't focus on links but it will do for now. I plan to add brackets to the regex pattern next.
Feel free to improve it. Javascript is not my primary language so I'm sure there are better/cleaner ways to do it. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm still learning Dataview (it's amazing). I found how to create a table of documents (with the tag "code"), and count their backlinks and list the files backlinking them.
What I want to do next is count the Linked Mentions as well. For instance, Document A mentions Document B 3 times. So in the table the Total column would list 3 instead of 1 Linked Mentions for Document B.
I feel like this is possible as this exact data is displayed in the Backlinks panel. But I can't figure out how to show it in a table.
Beta Was this translation helpful? Give feedback.
All reactions