jekyll-spaceship 0.8.6 → 0.8.7
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c04f1aada8ea0a1dde37b51418f843e1d163e1dd7230cf602a0f7caf5d787b19
|
|
4
|
+
data.tar.gz: 263b035717beeedaad26f42c896a2265b3be4e9bf977b2883e23d8b678f280db
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 566854587a4dea0b991d755467dd402cc39a86235636c9e95c1fbd042ae6ee7bc28bd26ffd99b0d12a8e56ffcff469193bab5008d319e8408949382dec162bdb
|
|
7
|
+
data.tar.gz: c79139b158834943705be273a533beef706d028fcbff9f339f08aba027ec85a872c73a522679ab2b69d09c82f6c7bd8f8f551f33bfd369040b510b3db36859c5
|
data/README.md
CHANGED
|
@@ -571,17 +571,17 @@ Here are some examples for span IALs:
|
|
|
571
571
|
Here is an example for custom table cell with IAL:
|
|
572
572
|
|
|
573
573
|
```markdown
|
|
574
|
-
{:color-style: style="background: black;"
|
|
575
|
-
{:color-style: style="color: white;"
|
|
576
|
-
{:
|
|
574
|
+
{:color-style: style="background: black;"}
|
|
575
|
+
{:color-style: style="color: white;"}
|
|
576
|
+
{:text-style: style="font-weight: 800; text-decoration: underline;"}
|
|
577
577
|
|
|
578
578
|
|: Here's an Inline Attribute Lists example :||||
|
|
579
|
-
| ------- |
|
|
579
|
+
| ------- | ------------------ | -------------------- | ------------------ |
|
|
580
580
|
|: :|: <div style="color: red;"> < Normal HTML Block > </div> :|||
|
|
581
581
|
| ^^ | Red {: .cls style="background: orange" } |||
|
|
582
582
|
| ^^ IALs | Green {: #id style="background: green; color: white" } |||
|
|
583
583
|
| ^^ | Blue {: style="background: blue; color: white" } |||
|
|
584
|
-
| ^^ | Black {: color-style
|
|
584
|
+
| ^^ | Black {: color-style text-style } |||
|
|
585
585
|
```
|
|
586
586
|
|
|
587
587
|
Code above would be parsed as:
|
|
@@ -19,7 +19,9 @@ module Jekyll::Spaceship
|
|
|
19
19
|
if references.size > 0
|
|
20
20
|
content.scan(/[^\n]*(?<!\\)\|[^\n]*/) do |result|
|
|
21
21
|
references.each do |key, val|
|
|
22
|
-
replace = result.gsub(
|
|
22
|
+
replace = result.gsub(
|
|
23
|
+
/\[([^\n\]]*?)\]\s*\[#{key}\]/,
|
|
24
|
+
"[\1](#{val})")
|
|
23
25
|
next if result == replace
|
|
24
26
|
content = content.gsub(result, replace)
|
|
25
27
|
end
|
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.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- jeffreytse
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2020-07-
|
|
11
|
+
date: 2020-07-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|