jekyll-theme-chirpy-customized-upe 3.2.0.pre.beta2 → 3.2.0.pre.beta3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/js-selector.html +41 -1
- data/_includes/mathjax_support.html +61 -2
- data/_layouts/default.html +4 -2
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b0c042ca31256daccd9ec4d70fbcbeccfa5cc7a6a504ab64dd011aad4f37630
|
4
|
+
data.tar.gz: e7683eacd91921cdb4ae3758e1c0ee2d6ad7af0f87f36133e81ad54570a663d1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 783009a2561a2d40e8e2eb7d2d6f20fd1105985f39432bd9638b806a328b6ac20b2c9c90e2b39b08920deb563551df0b957d800c11b6effcd127d5a54d6fc05b
|
7
|
+
data.tar.gz: 7c5518aa74f8a40fe7776ccee6f4df68875d14595fe3c90edb4ac601ea6f6eba19895642928c30a047cd61775ab6bf108dde7993414c9d8f99804358f967d93e
|
data/_includes/js-selector.html
CHANGED
@@ -70,9 +70,30 @@
|
|
70
70
|
|
71
71
|
{% if page.math %}
|
72
72
|
<!-- MathJax -->
|
73
|
+
|
73
74
|
<script>
|
74
75
|
/* see: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options> */
|
75
76
|
MathJax = {
|
77
|
+
loader: {
|
78
|
+
showProcessingMessages: false,
|
79
|
+
versionWarnings: false,
|
80
|
+
messageStyle: 'none',
|
81
|
+
load: [
|
82
|
+
'input/tex-base',
|
83
|
+
'output/chtml',
|
84
|
+
'[tex]/action',
|
85
|
+
{% for package in site.mathjax.packages %}
|
86
|
+
{% if package[1] == true %}
|
87
|
+
'[tex]/{{ package[0] }}',
|
88
|
+
{% endif %}
|
89
|
+
{% endfor %}
|
90
|
+
{% unless site.mathjax.other_packages == empty %}
|
91
|
+
{% for package in site.mathjax.other_packages %}
|
92
|
+
'[tex]/{{ package }}',
|
93
|
+
{% endfor %}
|
94
|
+
{% endunless %}
|
95
|
+
]},
|
96
|
+
|
76
97
|
tex: {
|
77
98
|
/* start/end delimiter pairs for in-line math */
|
78
99
|
inlineMath: [
|
@@ -83,7 +104,26 @@
|
|
83
104
|
displayMath: [
|
84
105
|
['$$', '$$'],
|
85
106
|
['\\[', '\\]']
|
86
|
-
]
|
107
|
+
],
|
108
|
+
macros: {
|
109
|
+
{% for macro in site.mathjax.macros %}
|
110
|
+
{{macro[0]}}: "{{macro[1]}}",
|
111
|
+
{% endfor %}
|
112
|
+
},
|
113
|
+
packages: [
|
114
|
+
'base',
|
115
|
+
'action',
|
116
|
+
{% for package in site.mathjax.packages %}
|
117
|
+
{% if package[1] == true %}
|
118
|
+
'{{ package[0] }}',
|
119
|
+
{% endif %}
|
120
|
+
{% endfor %}
|
121
|
+
{% unless site.mathjax.other_packages == empty %}
|
122
|
+
{% for package in site.mathjax.other_packages %}
|
123
|
+
'{{ package }}',
|
124
|
+
{% endfor %}
|
125
|
+
{% endunless %}
|
126
|
+
],
|
87
127
|
}
|
88
128
|
};
|
89
129
|
</script>
|
@@ -1,4 +1,4 @@
|
|
1
|
-
<script type="text/x-mathjax-config">
|
1
|
+
<!-- <script type="text/x-mathjax-config">
|
2
2
|
MathJax.Hub.Config({
|
3
3
|
TeX: {
|
4
4
|
equationNumbers: {
|
@@ -20,7 +20,7 @@
|
|
20
20
|
type="text/javascript"
|
21
21
|
async
|
22
22
|
src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-MML-AM_CHTML"
|
23
|
-
></script>
|
23
|
+
></script> -->
|
24
24
|
|
25
25
|
<!-- MathJax -->
|
26
26
|
<!-- <script>
|
@@ -45,3 +45,62 @@
|
|
45
45
|
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
46
46
|
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3.2.2/es5/tex-chtml.js"></script> -->
|
47
47
|
|
48
|
+
<script>
|
49
|
+
/* see: <https://docs.mathjax.org/en/latest/options/input/tex.html#tex-options> */
|
50
|
+
MathJax = {
|
51
|
+
loader: {
|
52
|
+
showProcessingMessages: false,
|
53
|
+
versionWarnings: false,
|
54
|
+
messageStyle: 'none',
|
55
|
+
load: [
|
56
|
+
'input/tex-base',
|
57
|
+
'output/chtml',
|
58
|
+
'[tex]/action',
|
59
|
+
{% for package in site.mathjax.packages %}
|
60
|
+
{% if package[1] == true %}
|
61
|
+
'[tex]/{{ package[0] }}',
|
62
|
+
{% endif %}
|
63
|
+
{% endfor %}
|
64
|
+
{% unless site.mathjax.other_packages == empty %}
|
65
|
+
{% for package in site.mathjax.other_packages %}
|
66
|
+
'[tex]/{{ package }}',
|
67
|
+
{% endfor %}
|
68
|
+
{% endunless %}
|
69
|
+
]},
|
70
|
+
|
71
|
+
tex: {
|
72
|
+
/* start/end delimiter pairs for in-line math */
|
73
|
+
inlineMath: [
|
74
|
+
['$', '$'],
|
75
|
+
['\\(', '\\)']
|
76
|
+
],
|
77
|
+
/* start/end delimiter pairs for display math */
|
78
|
+
displayMath: [
|
79
|
+
['$$', '$$'],
|
80
|
+
['\\[', '\\]']
|
81
|
+
],
|
82
|
+
macros: {
|
83
|
+
{% for macro in site.mathjax.macros %}
|
84
|
+
{{macro[0]}}: "{{macro[1]}}",
|
85
|
+
{% endfor %}
|
86
|
+
},
|
87
|
+
packages: [
|
88
|
+
'base',
|
89
|
+
'action',
|
90
|
+
{% for package in site.mathjax.packages %}
|
91
|
+
{% if package[1] == true %}
|
92
|
+
'{{ package[0] }}',
|
93
|
+
{% endif %}
|
94
|
+
{% endfor %}
|
95
|
+
{% unless site.mathjax.other_packages == empty %}
|
96
|
+
{% for package in site.mathjax.other_packages %}
|
97
|
+
'{{ package }}',
|
98
|
+
{% endfor %}
|
99
|
+
{% endunless %}
|
100
|
+
],
|
101
|
+
}
|
102
|
+
};
|
103
|
+
</script>
|
104
|
+
<script src="https://polyfill.io/v3/polyfill.min.js?features=es6"></script>
|
105
|
+
<script id="MathJax-script" async src="{{ site.data.origin[type].mathjax.js | relative_url }}"></script>
|
106
|
+
|
data/_layouts/default.html
CHANGED
@@ -79,8 +79,10 @@ layout: compress
|
|
79
79
|
|
80
80
|
{% include login-check.html %}
|
81
81
|
|
82
|
-
{% if
|
83
|
-
{%
|
82
|
+
{% if site.mathjax.display_on_home.enabled %}
|
83
|
+
{% unless page.layout == 'post' or page.layout == 'archives' %}
|
84
|
+
{% include mathjax_support.html %}
|
85
|
+
{% endunless %}
|
84
86
|
{% endif %}
|
85
87
|
|
86
88
|
{% include js-selector.html %}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-chirpy-customized-upe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.2.0.pre.
|
4
|
+
version: 3.2.0.pre.beta3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jo Cruise
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-02-
|
11
|
+
date: 2024-02-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|