diff --git a/docs/make.jl b/docs/make.jl index f3f224ff..f587408e 100644 --- a/docs/make.jl +++ b/docs/make.jl @@ -2,18 +2,22 @@ using Documenter, VegaLite, UUIDs function Base.show(io::IO, m::MIME"text/html", v::VegaLite.VLSpec) divid = string("vl", replace(string(uuid4()), "-"=>"")) - print(io, "
") + print(io, "
") print(io, "") + print(io, ",{mode:'vega-lite'}).catch(console.warn);})") + print(io, "") + print(io, "") end function Base.show(io::IO, m::MIME"text/html", v::VegaLite.VGSpec) divid = string("vg", replace(string(uuid4()), "-"=>"")) - print(io, "
") + print(io, "
") print(io, "") + print(io, ",{mode:'vega'}).catch(console.warn);})") + print(io, "") + print(io, "") end makedocs( diff --git a/src/rendering/render.jl b/src/rendering/render.jl index 2163b3e2..92e76e99 100644 --- a/src/rendering/render.jl +++ b/src/rendering/render.jl @@ -26,7 +26,7 @@ function writehtml_full(io::IO, spec::VLSpec; title="VegaLite plot") -
+