jekyll-theme-endless 0.13.4 → 0.14.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1b3a672e36d0ddc829729def60c9b4254ce0c4a70ec93942e8cbadeff809d6c8
4
- data.tar.gz: 0512dd5024872dd3725eeb0c17c97cbf907dd63838f7901393bac6ea9f485409
3
+ metadata.gz: 37e44e86e755160d7f118c33a0a64d0f67de513f33b35475b6966242bbd3c87d
4
+ data.tar.gz: 80586bcdfd1a29995f0e96237f9e5f14440937f68221ffebd7928f6b3d6d72b7
5
5
  SHA512:
6
- metadata.gz: f73451364aed66ce632bb00e81f211fd3b67436ca1235550fe7d7155db3173bad82d04cc09fde6316396bec7e2068cf606f2926d6c0f2d891c9d7c9e5cf12fff
7
- data.tar.gz: 4110c2e6d50b07f41365fa57788d5537162d30bc55b7b2552ad0d037ee19dd39039e458ed3247e61688cd9e39cb70318293f26c834157e1fa95b4785f451f1d5
6
+ metadata.gz: 95826cd365200b58be9fb520d0cded0756f1874ea3971cda1458c06a1744a1efda25a7ef492e36941c7f84ce9b8d96382d057ef072b113775cd5402e92b2ad89
7
+ data.tar.gz: 41e6f565fb6f553b0ad02f5fa0be7d06226a393a80e5d5e55a2508c3c46654098850c50ac6ec34e1579c314e875ac1c19f3ff748712b0f1894e7354ff3aadfe2
data/_layouts/html.html CHANGED
@@ -63,10 +63,30 @@
63
63
 
64
64
  {{ content }}
65
65
 
66
+
67
+ <!-- Configuration for MathJax (for STEM expressions) -->
68
+ <script type="text/x-mathjax-config">
69
+ MathJax.Hub.Config({
70
+ messageStyle: "none",
71
+ tex2jax: {
72
+ inlineMath: [["\\(", "\\)"]],
73
+ displayMath: [["\\[", "\\]"]],
74
+ ignoreClass: "nostem|nolatexmath"
75
+ },
76
+ asciimath2jax: {
77
+ delimiters: [["\\$", "\\$"]],
78
+ ignoreClass: "nostem|noasciimath"
79
+ },
80
+ TeX: { equationNumbers: { autoNumber: "none" } }
81
+ });
82
+ </script>
83
+
66
84
  {% if site.use-cdn == true or site.use-cdn == nil %}
67
85
  <!-- Load from CDN -->
68
- <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
69
- <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha256-jXCJJT3KKcnNjZ3rfsabCj1EX4j2omR4xxm+H5CtywE=" crossorigin="anonymous"></script>
86
+ <script src="https://cdn.jsdelivr.net/npm/jquery@3.5.1/dist/jquery.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
87
+ <script src="https://cdn.jsdelivr.net/npm/bootstrap@4.5.3/dist/js/bootstrap.bundle.min.js" integrity="sha256-jXCJJT3KKcnNjZ3rfsabCj1EX4j2omR4xxm+H5CtywE=" crossorigin="anonymous"></script>
88
+ <!-- MathJax (for STEM expressions) -->
89
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.4/MathJax.js?config=TeX-MML-AM_HTMLorMML"></script>
70
90
  {% else %}
71
91
  <!-- Load local versions -->
72
92
  {% endif %}
@@ -0,0 +1,19 @@
1
+
2
+
3
+ div.stemblock {
4
+ text-align: center;
5
+
6
+ div.content {
7
+ /* See also `img-fluid` class from Bootstrap. */
8
+ display: inline-block;
9
+ max-width: 100%;
10
+ height: auto;
11
+ width: auto;
12
+ background: #fff;
13
+ border: 1px solid #aaa;
14
+ padding: 10px 10px;
15
+ border-radius: 5px;
16
+ margin-bottom: 2em;
17
+ }
18
+ }
19
+
data/assets/css/main.scss CHANGED
@@ -39,6 +39,7 @@
39
39
  @use "adoc-code";
40
40
  @use "adoc-text";
41
41
  @use "adoc-toc";
42
+ @use "adoc-stem";
42
43
 
43
44
  /*
44
45
  * Dynamically add stylesheets as configured by the user in `_config.yml`
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Endless
3
- VERSION = '0.13.4'
3
+ VERSION = '0.14.1'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-endless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.4
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Boekhoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-11-05 00:00:00.000000000 Z
11
+ date: 2024-11-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll-asciidoc
@@ -114,6 +114,7 @@ files:
114
114
  - _sass/adoc-images.scss
115
115
  - _sass/adoc-lists.scss
116
116
  - _sass/adoc-quote.scss
117
+ - _sass/adoc-stem.scss
117
118
  - _sass/adoc-tables.scss
118
119
  - _sass/adoc-text.scss
119
120
  - _sass/adoc-toc.scss