I have been trying to include a gist in an Escher web app:

function main(window)
    vbox(
        plaintext("Gist test"),
        Elem(:script, src = "~/.julia/v0.3/Patchwork/runtime/build.js"),
        Elem(:script,
            display = "inline",
            src = 
"https://gist.github.com/Ismael-VC/f5e64ca3e2f980340ae3.js";
        )
    )
end

But this only prints `Gist test`. I have also tried including the script in 
a markdown. I see here that `Patchwork/runtime/build.js` must be included 
for this to work:

https://github.com/shashi/Patchwork.jl#javascript-setup-and-patching

I'll try to look how does IJulia does this.

Reply via email to