How to render figures in Pluto markdown?

One way is to use LocalResource from PlutoUI.jl.

Another, maybe more transferable, is to manually encode your image into base64 and embed it as

$(Resource(
    "data:image/png;base64,#=base64-encoded file here=#",
    MIME("image/png"),
    (:height => 240)
))
4 Likes