File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change 1+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/katex@0.16.22/dist/katex.min.css " integrity ="sha256-GQlRJzV+1tKf4KY6awAMkTqJ9/GWO3Zd03Fel8mFLnU= " crossorigin ="anonymous ">
2+ < script src ="https://cdn.jsdelivr.net/npm/katex@0.16.22/dist/katex.min.js " integrity ="sha256-6NiFUFlJ86X0q91d0NU2lr0Tca0m/79PMQ3Nd8jNrok= " crossorigin ="anonymous "> </ script >
3+ < script src ="https://cdn.jsdelivr.net/npm/katex@0.16.22/dist/contrib/auto-render.min.js " integrity ="sha256-u1PrlTOUUxquNv3VNwZcQkTrhUKQGjzpFGAdkyZ1uKw= " crossorigin ="anonymous "> </ script >
4+ < script >
5+ document . addEventListener ( "DOMContentLoaded" , function ( ) {
6+ renderMathInElement ( document . body , {
7+ delimiters : [
8+ { left : "$$" , right : "$$" , display : true } ,
9+ { left : "\\(" , right : "\\)" , display : false } ,
10+ { left : "$" , right : "$" , display : false } ,
11+ { left : "\\[" , right : "\\]" , display : true }
12+ ]
13+ } ) ;
14+ } ) ;
15+ </ script >
You can’t perform that action at this time.
0 commit comments