jekyll-spaceship 0.8.0 → 0.8.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +15 -9
- data/lib/jekyll-spaceship/processors/video-processor.rb +2 -2
- data/lib/jekyll-spaceship/version.rb +1 -1
- 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: 03c21c812a08651efca92f4b47b56249235da50b32b9d3eecb53dc3900d4e96a
|
|
4
|
+
data.tar.gz: abe8bcef58bcf94b21d9817fd502f05d6f603b0861dcb553b112a0c976a5be9b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f0ee89b992667b27dbd9aacc6b094fa4572c2cf6d97f9fe7d90577a3615af5b571af29dae255cf6d493b122c9eaa5af6ee2c5aa95c7ad6589acbecb133ef51b9
|
|
7
|
+
data.tar.gz: 19effd2d66e6684a6cd8c8e784262f354ef26cefa1bd1a2cb97411e7f9f97cf9081c2acc350ac3bb2978c31889ad62ede73dd05616d7659ac6d6019ceb6a51e6
|
data/README.md
CHANGED
|
@@ -167,7 +167,7 @@ jekyll-spaceship:
|
|
|
167
167
|
- ['$','$']
|
|
168
168
|
- ['\(','\)']
|
|
169
169
|
plantuml-processor:
|
|
170
|
-
mode: default # mode value 'pre-fetch' for
|
|
170
|
+
mode: default # mode value 'pre-fetch' for fetching image at building stage
|
|
171
171
|
css:
|
|
172
172
|
class: plantuml
|
|
173
173
|
syntax:
|
|
@@ -175,7 +175,7 @@ jekyll-spaceship:
|
|
|
175
175
|
custom: ['@startuml', '@enduml']
|
|
176
176
|
src: http://www.plantuml.com/plantuml/png/
|
|
177
177
|
mermaid-processor:
|
|
178
|
-
mode: default # mode value 'pre-fetch' for
|
|
178
|
+
mode: default # mode value 'pre-fetch' for fetching image at building stage
|
|
179
179
|
css:
|
|
180
180
|
class: mermaid
|
|
181
181
|
syntax:
|
|
@@ -221,13 +221,13 @@ This feature is contributed by [pmccloghrylaing](https://github.com/pmccloghryla
|
|
|
221
221
|
```markdown
|
|
222
222
|
| Stage | Direct Products | ATP Yields |
|
|
223
223
|
| -----------------: | --------------: | ---------: |
|
|
224
|
-
| Glycolysis |
|
|
225
|
-
|
|
|
224
|
+
| Glycolysis | 2 ATP ||
|
|
225
|
+
| ^^ | 2 NADH | 3--5 ATP |
|
|
226
226
|
| Pyruvaye oxidation | 2 NADH | 5 ATP |
|
|
227
227
|
| Citric acid cycle | 2 ATP ||
|
|
228
|
-
|
|
|
229
|
-
|
|
|
230
|
-
|
|
|
228
|
+
| ^^ | 6 NADH | 15 ATP |
|
|
229
|
+
| ^^ | 2 FADH | 3 ATP |
|
|
230
|
+
| 30--32 ATP |||
|
|
231
231
|
```
|
|
232
232
|
|
|
233
233
|
Code above would be parsed as:
|
|
@@ -428,7 +428,7 @@ Table cell can be set alignment separately.
|
|
|
428
428
|
```markdown
|
|
429
429
|
| : Fruits \|\| Food : |||
|
|
430
430
|
| :--------- | :-------- | :-------- |
|
|
431
|
-
| Apple | :
|
|
431
|
+
| Apple | : Apple : | Apple \
|
|
432
432
|
| Banana | Banana | Banana \
|
|
433
433
|
| Orange | Orange | Orange |
|
|
434
434
|
| : Rowspan is 4 : || How's it? |
|
|
@@ -727,7 +727,7 @@ It's easy to write markdown inside HTML:
|
|
|
727
727
|
|
|
728
728
|
| : Fruits \|\| Food : |||
|
|
729
729
|
| :--------- | :-------- | :-------- |
|
|
730
|
-
| Apple | :
|
|
730
|
+
| Apple | : Apple : | Apple \
|
|
731
731
|
| Banana | Banana | Banana \
|
|
732
732
|
| Orange | Orange | Orange |
|
|
733
733
|
| : Rowspan is 4 : || How's it? |
|
|
@@ -903,6 +903,12 @@ jekyll-spaceship:
|
|
|
903
903
|
loading: eager # Replace `loading` value to `eager`
|
|
904
904
|
```
|
|
905
905
|
|
|
906
|
+
There are three options when using this method to lazy load images. Here are the supported values for the loading attribute:
|
|
907
|
+
|
|
908
|
+
- auto: Default lazy-loading behavior of the browser, which is the same as not including the attribute.
|
|
909
|
+
- lazy: Defer loading of the resource until it reaches a calculated distance from the viewport.
|
|
910
|
+
- eager: Load the resource immediately, regardless of where it’s located on the page.
|
|
911
|
+
|
|
906
912
|
|
|
907
913
|
## Credits
|
|
908
914
|
|
|
@@ -110,8 +110,8 @@ module Jekyll::Spaceship
|
|
|
110
110
|
style = qs['style'] || default['style']
|
|
111
111
|
allow = qs['allow'] || default['allow']
|
|
112
112
|
|
|
113
|
-
css_id.gsub('{id}', id)
|
|
114
|
-
css_class.gsub('{id}', id)
|
|
113
|
+
css_id = css_id.gsub('{id}', id)
|
|
114
|
+
css_class = css_class.gsub('{id}', id)
|
|
115
115
|
|
|
116
116
|
url = URI(iframe_url ? "#{iframe_url}#{id}" : url).tap do |v|
|
|
117
117
|
v.query = URI.encode_www_form(qs) if qs.size > 0
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-spaceship
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.8.
|
|
4
|
+
version: 0.8.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jeffreytse
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-06-
|
|
11
|
+
date: 2020-06-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|