
Updated MathJax initialization to be accessible globally by assigning it to the window object. This change ensures that MathJax is properly loaded and available for use across the application. Additionally, added 'defer' attribute to script tags for correct loading order.
14 lines
180 B
JavaScript
14 lines
180 B
JavaScript
window.MathJax = {
|
|
tex: {
|
|
inlineMath: [
|
|
['$', '$'],
|
|
['\\(', '\\)']
|
|
],
|
|
displayMath: [
|
|
['$$', '$$'],
|
|
['\\[', '\\]']
|
|
],
|
|
tags: 'ams'
|
|
}
|
|
};
|