card-mod-markdown 0.15.4 → 0.15.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/set/type/markdown.rb +7 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c463350a501d4d47ec93e3be21b9c7daf27cba5197b3dd10eb3ddfcbf1078863
|
4
|
+
data.tar.gz: 202d58d5c734fde24a7a8215f54d93bdc9ebba6dbb42425d7943d72d2829cba5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ebe2f3cd4d307d3facfb021abc97f0d256fae0b220c780f4ac40810689f8d201b320b6f63e6f6de290adae1bdf9dd9e4a6deca3ce901727467769b99d39f0e0
|
7
|
+
data.tar.gz: 3aea43e3e6eb7843feeb1be223bb7ce20d11b20656a3b7cd7750a2ac29b0427460f784108f25567300f2beb5c94580f9c85ed1b6ab24e282ef1e0673e1c5ccd8
|
data/set/type/markdown.rb
CHANGED
@@ -1,9 +1,15 @@
|
|
1
1
|
require "kramdown"
|
2
|
+
require "kramdown-syntax-coderay"
|
2
3
|
|
3
4
|
format :html do
|
4
5
|
view :core do
|
5
6
|
safe_process_content do |content|
|
6
|
-
Kramdown::Document.new(content
|
7
|
+
Kramdown::Document.new(content,
|
8
|
+
syntax_highlighter: :coderay,
|
9
|
+
syntax_highlighter_opts: {
|
10
|
+
line_numbers: false,
|
11
|
+
default_lang: :ruby
|
12
|
+
}).to_html
|
7
13
|
end
|
8
14
|
end
|
9
15
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-markdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.15.
|
4
|
+
version: 0.15.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2023-
|
13
|
+
date: 2023-05-02 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,28 +18,42 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.105.
|
21
|
+
version: 1.105.6
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.105.
|
28
|
+
version: 1.105.6
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: kramdown
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
32
32
|
requirements:
|
33
33
|
- - "~>"
|
34
34
|
- !ruby/object:Gem::Version
|
35
|
-
version: '2.
|
35
|
+
version: '2.4'
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
38
|
version_requirements: !ruby/object:Gem::Requirement
|
39
39
|
requirements:
|
40
40
|
- - "~>"
|
41
41
|
- !ruby/object:Gem::Version
|
42
|
-
version: '2.
|
42
|
+
version: '2.4'
|
43
|
+
- !ruby/object:Gem::Dependency
|
44
|
+
name: kramdown-syntax-coderay
|
45
|
+
requirement: !ruby/object:Gem::Requirement
|
46
|
+
requirements:
|
47
|
+
- - "~>"
|
48
|
+
- !ruby/object:Gem::Version
|
49
|
+
version: '1.0'
|
50
|
+
type: :runtime
|
51
|
+
prerelease: false
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - "~>"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: '1.0'
|
43
57
|
description: use markdown in decko card content
|
44
58
|
email:
|
45
59
|
- info@decko.org
|
@@ -77,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
77
91
|
- !ruby/object:Gem::Version
|
78
92
|
version: '0'
|
79
93
|
requirements: []
|
80
|
-
rubygems_version: 3.
|
94
|
+
rubygems_version: 3.2.33
|
81
95
|
signing_key:
|
82
96
|
specification_version: 4
|
83
97
|
summary: markdown support for decko
|