You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inline QUERY displays correctly in live preview but not in reading view IF there is an inline FIELD declared in the same block as the inline query.
#2160
Open
Joursach opened this issue
Nov 20, 2023
· 1 comment
An inline query which is in the same block as a declared inline field always displays correctly while inlive preview. However, when in reading view, it just displays the underlying line of code.
In the following example, I declare the inline field f::[[Necessity and sufficiency]] in the same block as the inline query =[[Mathematical statements#True mathematical statements|theorem]]:
and it displays as such in reading view:
However, when I remove the field declaration "f::" from before the link "[[Necessity and sufficiency]]", it displays correctly in reading view:
It could be an intended functionality, but I thought it is worth pointing it out, since it seems to work in live preview. It would be useful if it would work in reading view as well.
How can this functionality be useful?
Inline queries don't show up in the graph view and, therefore, can be used to provide ease of navigation, additional context, etc., without unnecessarily polluting the graph and, thus, keeping the visualisation of the underlying logic of a note clean. Sometimes, it may be useful to also declare an inline field in the same block for whatever reason.
DQL
No response
JS
No response
Dataview Version
0.5.64
Obsidian Version
1.4.16
OS
Windows
The text was updated successfully, but these errors were encountered:
What happened?
The potential bug
An inline query which is in the same block as a declared inline field always displays correctly while in live preview. However, when in reading view, it just displays the underlying line of code.
In the following example, I declare the inline field f::[[Necessity and sufficiency]] in the same block as the inline query
=[[Mathematical statements#True mathematical statements|theorem]]
:and it displays as such in reading view:
However, when I remove the field declaration "f::" from before the link "[[Necessity and sufficiency]]", it displays correctly in reading view:
It could be an intended functionality, but I thought it is worth pointing it out, since it seems to work in live preview. It would be useful if it would work in reading view as well.
How can this functionality be useful?
Inline queries don't show up in the graph view and, therefore, can be used to provide ease of navigation, additional context, etc., without unnecessarily polluting the graph and, thus, keeping the visualisation of the underlying logic of a note clean. Sometimes, it may be useful to also declare an inline field in the same block for whatever reason.
DQL
No response
JS
No response
Dataview Version
0.5.64
Obsidian Version
1.4.16
OS
Windows
The text was updated successfully, but these errors were encountered: