Closed fonsp closed 10 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="featured-card-preview-in-frontmatter")
julia> using Pluto
Nice! :sparkles: it would be cool to be able to embed this as an og image in the static HTML export to have a preview when sharing a link to a notebook.
With https://vercel.com/docs/functions/edge-functions/og-image-generation ! Seems really cool but also maybe too much work... Maybe @ctrekker is interested in adding this to glass one day?
Looks like a nice opportunity to make links cleaner when shared! Would you mind if I use the same card styling for published notebooks in Glass? The default behavior isn't very clean currently (see https://glassnotebook.io/r/R8vQF4q7Y08OyKT8Z3vvP/ for example), and it would be nice to mimic the card design language already used on the Pluto landing page
Of course!! 💛
https://github.com/fonsp/Pluto.jl/assets/6933510/95e7d33c-78c1-403b-aaac-cb4e9aace1e2