I’m using Pluto more and more for presentations, and like to include some videos, tweets or images to spice it up a little. While using embed codes from each website works fine, I started playing around with something along the lines of the Hugo shortcodes. The result is ShortCodes.jl, which is pretty basic, but serves my current needs.
# Embed tweet by id
# Embed youtube video by id and seek to start time and pause
# to show custom still image
YouTube("IAF8DjrQSSk", 2, 30) # 2 min 30 seconds
# Embed Flickr image by url
# Share string, e.g. a url, with the audience of a presentation using QR code:
As an example, the twitter embed should render something like this:
I wasn’t aware there was a problem with newer Pluto versions. I just tried with Pluto version 0.19.19 on julia master and the first couple of things I tried worked as expected. Could you please open an issue on github with more details on any incompatibilities?