jekyll-liquify 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +32 -0
- data/jekyll-liquify.gemspec +4 -4
- metadata +11 -11
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2bcd754e1c799501c9570ad4ec5fb00bc6137903
|
4
|
+
data.tar.gz: '098c87673850033ab436aeafc3ac968d64d2d0de'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6a04334e0bb2a035e1751906feb6d94375ea903024cd418c5741226b3786fb936fbbf4914437b22e1417d33e44a6b1d0c8d2a65bf535b9adc1a2acb68bd0f8c
|
7
|
+
data.tar.gz: cfc0120d8b29a52a370c1cfcefab8088dfc29a6ea9581385a86d581a2a5a50eb5be441ad109b5dadd621e0513cd697d3be9c6ac72418070f59ed6a3d623218c1
|
data/README.md
CHANGED
@@ -17,6 +17,38 @@ gems:
|
|
17
17
|
- jekyll-liquify
|
18
18
|
```
|
19
19
|
|
20
|
+
To use in your project, add liquid tags to front matter and use the `liquify` filter to parse it:
|
21
|
+
|
22
|
+
**example.md**
|
23
|
+
|
24
|
+
```
|
25
|
+
---
|
26
|
+
title: Welcome to {{ page.title_variable }}
|
27
|
+
title_variable: example
|
28
|
+
---
|
29
|
+
|
30
|
+
# Welcome to {{ title | liquify }}!
|
31
|
+
|
32
|
+
<!-- This will output the following -->
|
33
|
+
>> <h1>Welcome to example!</h1>
|
34
|
+
```
|
35
|
+
|
36
|
+
You can use it in conjunction with `markdownify`, but `liquify` has to go first:
|
37
|
+
|
38
|
+
**example.md**
|
39
|
+
|
40
|
+
```
|
41
|
+
---
|
42
|
+
title: Welcome to **{{ page.title_variable }}**
|
43
|
+
title_variable: example
|
44
|
+
---
|
45
|
+
|
46
|
+
# Welcome to {{ title | liquify | markdownify }}!
|
47
|
+
|
48
|
+
<!-- This will output the following -->
|
49
|
+
>> <h1>Welcome to <strong>example</strong>!</h1>
|
50
|
+
```
|
51
|
+
|
20
52
|
## Testing
|
21
53
|
|
22
54
|
1. `script/bootstrap`
|
data/jekyll-liquify.gemspec
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
Gem::Specification.new do |spec|
|
4
4
|
spec.name = "jekyll-liquify"
|
5
5
|
spec.summary = "A Jekyll filter that can parse Liquid in front matter."
|
6
|
-
spec.version = "0.0.
|
6
|
+
spec.version = "0.0.2"
|
7
7
|
spec.authors = ["Brian Hedberg"]
|
8
8
|
spec.email = "briansheahedberg@gmail.com"
|
9
9
|
spec.homepage = "https://github.com/gemfarmer/jekyll-liquify"
|
@@ -15,10 +15,10 @@ Gem::Specification.new do |spec|
|
|
15
15
|
spec.require_paths = ["lib"]
|
16
16
|
|
17
17
|
spec.add_runtime_dependency "redcarpet", "~> 3.1"
|
18
|
-
spec.add_runtime_dependency "liquid", [">= 2.5", "<
|
18
|
+
spec.add_runtime_dependency "liquid", [">= 2.5", "< 5.0"]
|
19
19
|
|
20
|
-
spec.add_development_dependency "jekyll", [">= 2.0", "<
|
20
|
+
spec.add_development_dependency "jekyll", [">= 2.0", "< 5.0"]
|
21
21
|
spec.add_development_dependency "rspec", "~> 3.0"
|
22
|
-
spec.add_development_dependency "rake"
|
22
|
+
spec.add_development_dependency "rake", "~> 10.0"
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.6"
|
24
24
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-liquify
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brian Hedberg
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2019-04-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: redcarpet
|
@@ -33,7 +33,7 @@ dependencies:
|
|
33
33
|
version: '2.5'
|
34
34
|
- - "<"
|
35
35
|
- !ruby/object:Gem::Version
|
36
|
-
version: '
|
36
|
+
version: '5.0'
|
37
37
|
type: :runtime
|
38
38
|
prerelease: false
|
39
39
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -43,7 +43,7 @@ dependencies:
|
|
43
43
|
version: '2.5'
|
44
44
|
- - "<"
|
45
45
|
- !ruby/object:Gem::Version
|
46
|
-
version: '
|
46
|
+
version: '5.0'
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: jekyll
|
49
49
|
requirement: !ruby/object:Gem::Requirement
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
version: '2.0'
|
54
54
|
- - "<"
|
55
55
|
- !ruby/object:Gem::Version
|
56
|
-
version: '
|
56
|
+
version: '5.0'
|
57
57
|
type: :development
|
58
58
|
prerelease: false
|
59
59
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -63,7 +63,7 @@ dependencies:
|
|
63
63
|
version: '2.0'
|
64
64
|
- - "<"
|
65
65
|
- !ruby/object:Gem::Version
|
66
|
-
version: '
|
66
|
+
version: '5.0'
|
67
67
|
- !ruby/object:Gem::Dependency
|
68
68
|
name: rspec
|
69
69
|
requirement: !ruby/object:Gem::Requirement
|
@@ -82,16 +82,16 @@ dependencies:
|
|
82
82
|
name: rake
|
83
83
|
requirement: !ruby/object:Gem::Requirement
|
84
84
|
requirements:
|
85
|
-
- - "
|
85
|
+
- - "~>"
|
86
86
|
- !ruby/object:Gem::Version
|
87
|
-
version: '0'
|
87
|
+
version: '10.0'
|
88
88
|
type: :development
|
89
89
|
prerelease: false
|
90
90
|
version_requirements: !ruby/object:Gem::Requirement
|
91
91
|
requirements:
|
92
|
-
- - "
|
92
|
+
- - "~>"
|
93
93
|
- !ruby/object:Gem::Version
|
94
|
-
version: '0'
|
94
|
+
version: '10.0'
|
95
95
|
- !ruby/object:Gem::Dependency
|
96
96
|
name: bundler
|
97
97
|
requirement: !ruby/object:Gem::Requirement
|
@@ -149,7 +149,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
149
149
|
version: '0'
|
150
150
|
requirements: []
|
151
151
|
rubyforge_project:
|
152
|
-
rubygems_version: 2.6.
|
152
|
+
rubygems_version: 2.6.12
|
153
153
|
signing_key:
|
154
154
|
specification_version: 4
|
155
155
|
summary: A Jekyll filter that can parse Liquid in front matter.
|