obsidian-icon-shortcodes icon indicating copy to clipboard operation
obsidian-icon-shortcodes copied to clipboard

Another Conflict with Inline Dataview Fields in Reading Mode

Open mkotowski opened this issue 2 years ago • 1 comments

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]

dataview_shortcodes_bug

It seems that the 2 first instances after a heading are not rendered in the preview mode, while working in the live preview.

mkotowski avatar Jul 07 '22 11:07 mkotowski

Also see https://github.com/aidenlx/obsidian-icon-shortcodes/issues/41#issuecomment-1355296614

NothingWorksToday avatar Dec 17 '22 09:12 NothingWorksToday