# Problem rendering figures with Documenter.jl

**URL:** <https://discourse.julialang.org/t/problem-rendering-figures-with-documenter-jl/99773>\
**Category:** General Usage\
**Tags:** documenter\
**Created:** [June 2, 2023, 3:02pm UTC](https://discourse.julialang.org/t/problem-rendering-figures-with-documenter-jl/99773 "2023-06-02T15:02:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![peremato](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/peremato/32/29128_2.png) [@peremato](https://discourse.julialang.org/u/peremato)\
**Post date:** [June 2, 2023, 3:02pm UTC](https://discourse.julialang.org/t/problem-rendering-figures-with-documenter-jl/99773/1 "2023-06-02T15:02:06Z")

</div>

I’m having problems rendering figures (from Plots.jl) in the generated notebook documents. I do convert the Jupyter notebooks to MD and passed to the `makedocs`. It used to work but now the browser (Safary & Chrome) renders the source of the figure and not the figure.

```julia
<?xml version="1.0" encoding="utf-8"?> <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1000" height="800" viewBox="0 0 4000 3200"> <defs> <clipPath id="clip820"> <rect x="0" y="0" width="4000" height="3200"/> </clipPath> </defs> <path clip-
...

```

See for [example](https://juliahep.github.io/Geant4.jl/stable/notebooks/TestEm3/)

The way I generate the MD file is with `run(`jupyter nbconvert --execute --to=markdown --output-dir=$output_dir $notebook`)` and the passed to `makedcs`.

See the full [code](https://github.com/JuliaHEP/Geant4.jl/blob/e28c92385a108b5fbc3cf60689abd0026a5e2654/docs/make.jl#L20).
