With this snippet by Dudley Storey you can add a preview modal for links within your content. When anyone hovers over one of these links a preview tooltip appears to the right of the content, which can display some text and an image. This is great when you want your visitors to see some extra information that is not integral to the main content. It will not work on small screen devices.
If you are having trouble with the pen, try the archived copy on GitHub