This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (() => { | |
| const HIGHLIGHT_CONTAINER_ID = 'highlight-container'; | |
| function isInteractiveElement(element) { | |
| if (!element || element.nodeType !== Node.ELEMENT_NODE) { | |
| return false; | |
| } | |
| // Base interactive elements and roles | |
| const interactiveElements = new Set([ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Make Mathjax synchronous | |
| ```html | |
| <!-- MathJax --> | |
| <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script> | |
| <script type="text/x-mathjax-config"> | |
| MathJax.Hub.Config({ tex2jax: {inlineMath: [["$","$"]]} }) | |
| </script> | |
| ``` |