ozntel / oz-image-in-editor-obsidian

This Obsidian plugin to view Images, Transclusions, iFrames and PDF Files within the Editor without a necessity to switch to Preview.
339 stars 13 forks source link

Inline image embedding doesn't work right #59

Closed NomarCub closed 3 years ago

NomarCub commented 3 years ago

Images embedded in a line, not constituting a separate paragraph are still displayed as if they were in their own paragraph, and after their actual place of origin, not in it. A simple example is Slack messages with emotes copied as images.

Markdown:

some text with emojis ![:hushed:](https://a.slack-edge.com/production-standard-emoji-assets/13.0/google-medium/1f62f.png) in it

Preview:

image

Editor:

image

ozntel commented 3 years ago

It is a normal behaviour. Line widgets in CM are located under the line, not within the line. Even though you have additional text, it will render the image after the line ends.