This repository was archived by the owner on Jan 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +16
-53
lines changed
Expand file tree Collapse file tree 4 files changed +16
-53
lines changed Original file line number Diff line number Diff line change 1- < div class ="blog-post ">
1+ < div class ="blog-post " id =" blog-post-math-content " >
22 < h2 class ="blog-post-title ">
33 {{ include.post.title }}
44 </ h2 >
Original file line number Diff line number Diff line change 11{% if page.math %}
2- < script >
3- window . MathJax = {
4- tex : {
5- inlineMath : [ [ '$' , '$' ] ] ,
6- displayMath : [ [ '£$' , '£$' ] ] ,
7- processEscapes : true ,
8- autoload : {
9- color : [ ] ,
10- colorV2 : [ 'color' ]
11- } ,
12- packages : { '[+]' : [ 'noerrors' ] }
13- } ,
14- svg : {
15- fontCache : 'global'
16- } ,
17- options : {
18- ignoreHtmlClass : 'tex2jax_ignore' ,
19- processHtmlClass : 'tex2jax_process'
20- } ,
21- loader : {
22- load : [ '[tex]/noerrors' ]
23- }
24- } ;
25- </ script >
26- < script src ="https://polyfill.io/v3/polyfill.min.js?features=es6 "> </ script >
27- < script src ="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js " id ="MathJax-script "> </ script >
2+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css " integrity ="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq " crossorigin ="anonymous ">
3+ < script defer src ="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js " integrity ="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz " crossorigin ="anonymous "> </ script >
4+ < script defer src ="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js " integrity ="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI " crossorigin ="anonymous "
5+ onload ="renderMathInElement(document.getElementById('blog-post-math-content'), {delimiters: [
6+ {left: '£$', right: '£$', display: true},
7+ {left: '$', right: '$', display: false}
8+ ]}); "> </ script >
289{% endif %}
2910< script type ="text/javascript " src ="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js " data-cfasync ="false "> </ script >
3011< script type ="text/javascript " src ="/assets/js/index.blog.min.js?rev=9a2b035a05763800c451c5b6834f504b "> </ script >
Original file line number Diff line number Diff line change 1212 < link rel ="prefetch " href ="/blog/ ">
1313 {% endif %}
1414 < link rel ="preconnect " href ="https://www.google-analytics.com ">
15+ < link rel ="preconnect " href ="https://cdn.jsdelivr.net ">
1516 {% include icons.html %}
1617 {% include analytics.html %}
1718 < style > body {visibility : hidden;}</ style >
Original file line number Diff line number Diff line change 11{% if page.math %}
2- < script >
3- window . MathJax = {
4- tex : {
5- inlineMath : [ [ '$' , '$' ] ] ,
6- displayMath : [ [ '£$' , '£$' ] ] ,
7- processEscapes : true ,
8- autoload : {
9- color : [ ] ,
10- colorV2 : [ 'color' ]
11- } ,
12- packages : { '[+]' : [ 'noerrors' ] }
13- } ,
14- svg : {
15- fontCache : 'global'
16- } ,
17- options : {
18- ignoreHtmlClass : 'tex2jax_ignore' ,
19- processHtmlClass : 'tex2jax_process'
20- } ,
21- loader : {
22- load : [ '[tex]/noerrors' ]
23- }
24- } ;
25- </ script >
26- < script src ="https://polyfill.io/v3/polyfill.min.js?features=es6 "> </ script >
27- < script src ="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js " id ="MathJax-script "> </ script >
2+ < link rel ="stylesheet " href ="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.css " integrity ="sha384-zB1R0rpPzHqg7Kpt0Aljp8JPLqbXI3bhnPWROx27a9N0Ll6ZP/+DiW/UqRcLbRjq " crossorigin ="anonymous ">
3+ < script defer src ="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/katex.min.js " integrity ="sha384-y23I5Q6l+B6vatafAwxRu/0oK/79VlbSz7Q9aiSZUvyWYIYsd+qj+o24G5ZU2zJz " crossorigin ="anonymous "> </ script >
4+ < script defer src ="https://cdn.jsdelivr.net/npm/katex@0.11.1/dist/contrib/auto-render.min.js " integrity ="sha384-kWPLUVMOks5AQFrykwIup5lo0m3iMkkHrD0uJ4H5cjeGihAutqP0yW0J6dpFiVkI " crossorigin ="anonymous "
5+ onload ="renderMathInElement(document.getElementById('blog-post-math-content'), {delimiters: [
6+ {left: '£$', right: '£$', display: true},
7+ {left: '$', right: '$', display: false}
8+ ]}); "> </ script >
289{% endif %}
2910< script type ="text/javascript " src ="https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js " data-cfasync ="false "> </ script >
3011< script type ="text/javascript " src ="/assets/js/index.blog.min.js?rev=@@hash "> </ script >
You can’t perform that action at this time.
0 commit comments