# How to render figures in Pluto markdown?

**URL:** https://discourse.julialang.org/t/how-to-render-figures-in-pluto-markdown/67900
**Category:** New to Julia
**Tags:** markdown, pluto, pluto-markdown
**Created:** [September 8, 2021, 11:12pm UTC](https://discourse.julialang.org/t/how-to-render-figures-in-pluto-markdown/67900 "2021-09-08T23:12:15Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![Vasily\_Pisarev](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/vasily_pisarev/32/7929_2.png) [@Vasily\_Pisarev](https://discourse.julialang.org/u/Vasily_Pisarev)
#### Post date: [September 9, 2021, 3:17pm UTC](https://discourse.julialang.org/t/how-to-render-figures-in-pluto-markdown/67900/2 "2021-09-09T15:17:06Z")

</div>

One way is to use [`LocalResource` from PlutoUI.jl](https://juliahub.com/docs/PlutoUI/abXFp/0.7.9/autodocs/#PlutoUI.LocalResource-Tuple%7BAbstractString,%20Vararg%7BPair,%20N%7D%20where%20N%7D).

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

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

```

---

_[View the full topic](https://discourse.julialang.org/t/how-to-render-figures-in-pluto-markdown/67900)._
