jekyll-paru 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/jekyll-paru/version.rb +1 -1
- data/lib/jekyll-paru.rb +2 -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: 8d555ac9200b244e0135f62363f8b18605b4b72eebfc3c0667231c7be2147b80
|
4
|
+
data.tar.gz: ff9294ea546836f7dc81837511fc14c1c1d705856362cfbf811d1535768090bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35473cff9307c293ee7ca214bd487e799f5584111c1583445f6e8be1f165daad6317c405eed4b9b4d925393a55fb83c15cf65ad20155df1b5c84d4bdf8355f81
|
7
|
+
data.tar.gz: 22ebc2b509ebe7ac6506ee8a62c3681daa3fcef2572cee9968576f81d3c44a44866dd975c7309138eb1845623d39022fd5a4d3d765e35734664df2c6e3c199c1
|
data/lib/jekyll-paru/version.rb
CHANGED
data/lib/jekyll-paru.rb
CHANGED
@@ -12,8 +12,8 @@ module Jekyll
|
|
12
12
|
@paru = ::Paru::Pandoc.new do
|
13
13
|
self.class.class_variable_set :@@pandoc_exec, config['paru']&.[]('exec') || self.class.class_variable_get(:@@pandoc_exec)
|
14
14
|
@options = config['paru']&.[]('options')&.dup || {}
|
15
|
-
from 'markdown'
|
16
|
-
to 'html5'
|
15
|
+
@options['from'] ||= 'markdown'
|
16
|
+
@options['to'] ||= 'html5'
|
17
17
|
@options.each do |key, value|
|
18
18
|
default = ::Paru::Pandoc::OPTIONS[key]
|
19
19
|
if default.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-paru
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ulysses Zhan
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-11-
|
11
|
+
date: 2023-11-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|