You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Use `joinpath("__site/assets", filename)` as the path to save the image in the right place and use `{{ rfig filename.ext Caption of image }}` to add the image afterwards.
It is a good idea to use `# hide` so the save command doesn't appear. See the example below.
=#
using Plots
x = rand(3)
y = rand(3)
plot(x, y)
png(joinpath("__site/assets", "myplot")) # hide
# {{ rfig myplot.png Example of plot and description }}