I haven’t gotten around to update those functions + docs yet…
I think your best chance currently would be to use the approach with Page from Home · WGLMakie.jl, but manually print the outputs to an io:
using JSServe, WGLMakie
page = Page(offline=true, exportable=true);
page_html = sprint() do io
show(io, MIME"text/html"(), page)
show(io, MIME"text/html"(), scatter(1:4))
show(io, MIME"text/html"(), volume(rand(4, 4, 4)))
end
write("test.html", page_html)