I'm unsure if it's a bug in PlutoUI or the Markdown stdlib but here it is:
When entering the following in a Pluto cell, we get the logo and the text on the same line:
md"""
* ![logo](https://julialang.org/assets/infra/logo.svg) Julia
"""
but with the Resource, they are split on different lines which is a bug IMO
md"""
* $(Resource("https://julialang.org/assets/infra/logo.svg")) Julia
"""
By adding anything before the image (including a space), it fixes the issue
md"""
* $(Resource("https://julialang.org/assets/infra/logo.svg")) Julia
"""
Looking at the html, I have respectively
For the first one
I'm unsure if it's a bug in PlutoUI or the Markdown stdlib but here it is: When entering the following in a Pluto cell, we get the logo and the text on the same line:
but with the
Resource
, they are split on different lines which is a bug IMOBy adding anything before the image (including a space), it fixes the issue
Looking at the html, I have respectively For the first one
Second one
Third one
The issue in the second one is the misplaced
<p>
.