Created own theme
This commit is contained in:
27
_includes/utils/mathjax.html
Normal file
27
_includes/utils/mathjax.html
Normal file
@@ -0,0 +1,27 @@
|
||||
<!--MathJAX-->
|
||||
<script>
|
||||
MathJax = {
|
||||
tex: {
|
||||
packages: {
|
||||
'[+]': ['mhchem', 'ams']
|
||||
},
|
||||
inlineMath: [ // start/end delimiter pairs for in-line math
|
||||
['$','$'],
|
||||
['\\(', '\\)']
|
||||
],
|
||||
displayMath: [ // start/end delimiter pairs for display math
|
||||
['$$', '$$'],
|
||||
['\\[', '\\]']
|
||||
],
|
||||
tags: 'ams',
|
||||
processRefs: true,
|
||||
},
|
||||
chtml: {
|
||||
scale: 1,
|
||||
minScale: .5,
|
||||
matchFontHeight: true,
|
||||
}
|
||||
};
|
||||
</script>
|
||||
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
||||
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-chtml.js"></script>
|
||||
13
_includes/utils/scripts.html
Normal file
13
_includes/utils/scripts.html
Normal file
@@ -0,0 +1,13 @@
|
||||
<!--Bootstrap-->
|
||||
<script src="{{ "/assets/js/jquery-3.5.1.min.js" | relative_url }}"></script>
|
||||
<script src="{{ "/assets/js/bootstrap.bundle.min.js" | relative_url }}"></script>
|
||||
<script src="{{ "/assets/js/bootstrap-toc.min.js" | relative_url }}"></script>
|
||||
<!--Anchors-->
|
||||
<script src="{{ "/assets/js/anchor.min.js" | relative_url }}"></script>
|
||||
<script>
|
||||
anchors.options = {
|
||||
placement: 'right',
|
||||
icon: '#',
|
||||
};
|
||||
anchors.add('h1, h2, h3, h4, h5').remove('.no-anchor');
|
||||
</script>
|
||||
Reference in New Issue
Block a user