ckRobinson / multi-column-markdown

A plugin for the Obsidian markdown note application, adding functionality to render markdown documents with multiple columns of text.
GNU General Public License v3.0
284 stars 13 forks source link

Live preview mode doesn't render text and images, just images #92

Open Mug521 opened 10 months ago

Mug521 commented 10 months ago

First of all, thanks for such a great plugin. I'm new into obsidian and it has helped me a lot to organize my notes.

The issue: When adding images and text to the columns it renders correctly being in reading mode, but seems like it doesn't in live preview mode because I can see just the images without the text.

Source code:

ID: ID_imd6
Number of Columns: 2
Largest Column: standard

Procediendo con el trabajo en cuestión ![[Pasted image 20231130164738.png]]

--- column-end ---

Queda resuelto el escenario ![[Pasted image 20231130164741.png]]

--- end-multi-column

Reading mode: image

Live preview mode: (the text doesn't appear) image

ckRobinson commented 10 months ago

Hey there! Glad you're finding the plugin useful.

I do see the issue you are describing on my end, and I generally know why its happening but fixing it will be another story, and I'll add it to my list.

In the mean time however, there is an easy solution. If you add a blank line between the text and the image it will render the text properly. The bug comes down to Obsidian parsing the markdown slightly differently between live preview and natively in reading mode. So if something is not appearing in live preview make sure the content has a blank line between it and often times will fix it. (Sometimes requiring to close and re-open the file to refresh it)

Flagrare commented 2 months ago

Is this related too? When I try to use callouts with embed images it only shows the image in live preview mode, only in read mode I can actually see the callout.

Hardest part is that I can't find a workaround like the one you suggested

Screenshot 2024-07-09 at 11 38 18

Screenshot 2024-07-09 at 11 38 29

Read mode:

Screenshot 2024-07-09 at 11 40 03