JuliaImages / QRCoders.jl

Creating QR Codes within Julia
https://juliaimages.org/QRCoders.jl/
MIT License
68 stars 11 forks source link

Render QRCode as image in HTML mime #56

Open giordano opened 1 year ago

giordano commented 1 year ago

It'd be nice to render automatically a qrcode as an image when displaying it to MIME"text/html", so that

qrcode("...")

is automatically rendered as an image in notebooks, like Pluto and Jupyter, instead of jumping through multiple hoops to save the file the disk and read it back.

rben01 commented 1 year ago

Agree this would be nice. As a workaround you can use using Images; Gray.(.!qrcode("...")), which will get it to show in VSCode’s plot pane, and I imagine the other rich editors as well.