question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Inline Dataview fields are not rendered correctly if the field contains a link to another note

See original GitHub issue

What happened?

Hi there 😊 ,

So, after the last update (I think) of Dataview (to 0.5.26), internal links (e.g.: [[A Page]] or [[Some Other Page|Render Text]] ) don’t seem to be rendered anymore when used in inline fields (e.g.: (Example:: [[A Page]]) ) 🤔 …

(See the screenshots below 😇 )

Here’s the test Markdown I used in the screenshot :

> [!note] 
> I would rate this a (rating:: 9)! It was (mood:: acceptable).
> 
> (Example:: [[A Page]])
> (Example:: [[Some Other Page|Render Text]])


I would rate this a (rating:: 9)! It was (mood:: acceptable).

(Example:: [[A Page]])
(Example:: [[Some Other Page|Render Text]])

Here’s the result in Live Preview : Dataview - LP

And here’s is the result in Reading Dataview - Reading

I was expecting both internal links to be rendered as the line I would rate this a (rating:: 9)! It was (mood:: acceptable). is 😊 … as I’m pretty sure it was working before 😊 …

Did I miss something 😅 ? Did this annotation for inline dataview fields changed ? 😇

DQL

No response

JS

No response

Dataview Version

0.5.26

Obsidian Version

0.14.15

OS

MacOS

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:11 (2 by maintainers)

github_iconTop GitHub Comments

8reactions
blacksmithgucommented, Jun 7, 2022

Dataview inline fields are hairy to implement in general, since they have to be implemented as HTML post-processors (where I am given the complete HTML page after rendering and then try to figure out what was an inline field at some point).

There was a change some time ago to fix a different bug (w.r.t. some bad plugin interop) that broke this behavior. I’m going to have to rethink how exactly I do this, since I’m not entirely sure.

5reactions
blacksmithgucommented, Jun 28, 2022

Fixed on 0.5.37.

Read more comments on GitHub >

github_iconTop Results From Across the Web

workaround for using links as dataview in-line fields? - Reddit
I'd like to use a link as an inline field to be queried by Dataview. Ideally, my source file would have [[Positionality]]:: A...
Read more >
Dataview Inline Fields in Tasks not Showing Up - Resolved help
What I'm trying to do. Trying to create an inline data field inside of a todo/task item. Given the following setup, you'll see...
Read more >
The Beginner's Guide to DATAVIEW Obsidian Plugin
1) body of your note — called Inline-fields; or ... except that file.link renders as an actual link to that note, and the...
Read more >
Managing data security with Section Access - Qlik | Help
If the field contains the string 'QLIKSENSE' or a wildcard '*', access may be granted, depending on the other fields in the security...
Read more >
TextView - Android Developers
android:password, Whether the characters of the field are displayed as ... if setAutoLinkMask(int) has been set to nonzero and links are detected in ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found