This version is old school.
Please find jQuery plugins on npm.
Code Callout
by Dave Leeds
Code Callout allows you to create links in your webpages to highlight and comment on a source code listing in the page. When you click a link, the page scrolls to the indicated lines, highlights them, and pops up a note. When you're done examining the code, you click a button to continue reading where you left off.