obsidian-icon-shortcodes
obsidian-icon-shortcodes copied to clipboard
Another Conflict with Inline Dataview Fields in Reading Mode
The issue is related to https://github.com/aidenlx/obsidian-icon-shortcodes/issues/41.
Both the Dataview’s (tag:: )
and [tag:: ]
notations (with the current Obsidian + Icon Shortcodes plugin) do not render correctly at least in some contexts.
One case I discovered, looks like this:
# Rendering bug showcase
- :luc_moon: [sleep-duration:: 5h51m] [sleep-start:: 00:46] [sleep-end:: 06:37]
- :luc_moon: [sleep-duration:: 5h51m] [sleep-start:: 00:46] [sleep-end:: 06:37]
- :luc_moon: [sleep-duration:: 5h51m] [sleep-start:: 00:46] [sleep-end:: 06:37]
# Rendering bug showcase 2
- :luc_moon: (sleep-duration:: 5h51m) (sleep-start:: 00:46) [sleep-end:: 06:37]
- :luc_moon: (sleep-duration:: 5h51m) [sleep-start:: 00:46] (sleep-end:: 06:37)
- :luc_moon: [sleep-duration:: 5h51m] [sleep-start:: 00:46] [sleep-end:: 06:37]
# Rendering bug showcase 3
- :luc_moon: (sleep-duration:: 5h51m) (sleep-start:: 00:46) [sleep-end:: 06:37]
- :luc_moon: (sleep-duration:: 5h51m) (sleep-start:: 00:46) (sleep-end:: 06:37)
- :luc_moon: [sleep-duration:: 5h51m] [sleep-start:: 00:46] [sleep-end:: 06:37]
It seems that the 2 first instances after a heading are not rendered in the preview mode, while working in the live preview.
Also see https://github.com/aidenlx/obsidian-icon-shortcodes/issues/41#issuecomment-1355296614