javalent / admonitions

Adds admonition block-styled content to Obsidian.md
MIT License
1.07k stars 70 forks source link

Bug: image inside collapsed callout does not render properly #219

Closed Cammagno closed 2 years ago

Cammagno commented 2 years ago

Not sure if this is a problem due to Admonition itself or Obsidian Callouts (now it's hard to me to understand which is doing what), but if I put an image inside a callout collapsed by default, it does not render properly, its size is shown instead of the image itselfe (see attached picture) This happens only if the callout is collapsed by default (- after the ]) Admonition

valentine195 commented 2 years ago

Does this happen with Admonitions turned off? You’ll have to close and reopen the note.

Cammagno commented 2 years ago

Does this happen with Admonitions turned off? You’ll have to close and reopen the note.

Yes. So it's due to Callouts . It was easy to understand if it was Admonition's fault, after all :D