CairoMakie and Litterate: save images as separate files

In CairoMakie.jl v0.15.7 and Litterate.jl v2.21.0, images are now embedded (see below) per default, while previously they were stored as separate png files. Does somebody know to use separate files as before?

Litterate source file test.jl:

using CairoMakie
function myplot()
    fig = Figure()
    ax = Axis(fig[1, 1])
    hm = heatmap!(ax,randn(1000,1000))
    return fig
end

myplot()

Converted with:

using Literate
Literate.markdown("test.jl",".", execute = true, documenter = true)

The generated markdown file contains the base64 encoded image while I prefer the use of a separate png files:

<img width=600 height=450 style='object-fit: contain; height: auto;' src="data:image/png;base64, iVBORw0KGgoAAAANSUhEUgAABLAAAAOECAYAAACxbcj6AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAgY0hSTQAAeiYAAICEAAD6AAAAgO....

Embedding the base64 encoded data creates very large files that Documenter.jl complains about. This code is run in CI to generate the documentation stored in a git repo. I am also worried about the total repo size as I think that using png files directly is a more efficient way to store the figures.

The embedded html version exists because it makes pngs appear at the correct logical size, independent of pixel density. You can disable the text/html MIME type for which this behavior is implemented and instead force basic png using CairoMakie.enable_only_mime!("png")