Open pankgeorg opened 7 months ago
Open Julia and type:
julia> import Pkg
julia> Pkg.activate(temp=true)
julia> Pkg.add(url="https://github.com/fonsp/Pluto.jl", rev="pg/offline-mathjax")
julia> using Pluto
The tex file appears in the bundle twice :o
https://github.com/fonsp/Pluto.jl/actions/runs/7972036214/job/21762929218?pr=2821#step:8:181
It seems like MathJax v4 is almost released! And there are already beta releases. It might make sense to make the switch to v4 first before, otherwise we spend quite some effort debugging this, while the v4 will be bundled and included very differently.
The
not-the-src-yet
attribute was, of course, not being bundled. we use thenew URL()
trick of parcel to make sure this will load, keeping the same flow.