No need to click on an a tag to see the equation, just hover on any <a>
tag created using \eqref{label}
and that's it!
Check https://mauriciopoppe.com/notes/mathematics/calculus/derivative/ for a live demo
- index.html (the configuration I use for MathJax which enables equation numbers, see http://cdn.mathjax.org/mathjax/latest/test/sample-eqnum.html for more examples) (MathJaxV2)
- mathjaxPreview.js the scripts which enables the preview (MathJax V2)
- mathjaxPreviewV3.js the same script but with support for MathJax V3
After working a little bit further I am running into this error in the script Cannot read property 'closest' of null.
var equation = number.closest('.MathJax') - this line seems to be the source of the error but I am not sure how to fix it