Open Joursach opened 9 months ago
Disabling LaTeX-like Theorem & Equation Referencer for Obsidian fixes it for me.
> [! definition] `$= dv.page('Plastisol')['title']`
>
> `$= dv.page('Plastisol')['definition']`
>
> ^definition
Reading View Render:
Live Preview Render:
RyotaUshio/obsidian-latex-theorem-equation-referencer#217
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