jekyll-gfm-admonitions 1.0.1 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 75cc2a5cd4eaf0017bf2a47ca438f1be25b4a20212faf13e3e40f048ec263cb4
4
- data.tar.gz: 274fe45c83097424b627c66d721c68760298f6e2413b361d0f87cb0d62cc6462
3
+ metadata.gz: 8c856c5c80e38dd3778962e1387a3274a44466bf18a1b2eb80d52ad6249e724b
4
+ data.tar.gz: e7b5ec263f858813126b9b166192f8fd904971132923212aa245d334fd047a33
5
5
  SHA512:
6
- metadata.gz: 10967a4046bd913e5611421e3fb5d2d2253fde61161b588af2c294ad79340e53143a83390590b1a7252c616df73f3e3ba7991e1f4646731d045af7960c0592bd
7
- data.tar.gz: 50fc8c02dc6b000e4824bd60da24b1f324289b83784d8e6e870879eaeb65d887916e142bbb5daaf232d15617483046ac4009821e163bb3f76a83303dd7d04840
6
+ metadata.gz: e32f87292a299bdcb8e205596d22f4a894ab119fdcc1b8f95a90d8a156be1b1939903d9319b206ca180222ed55bdfd4b745ff5b690a693fead05b5d982ee77fc
7
+ data.tar.gz: df9cb535ee7125500ae0198de79567206a8f9ef69af92e58222d77395c558d524b37536c95c57fc84807081afb82ccdc4a7614771307c6b928d75567d4f55a2a
data/LICENSE.txt CHANGED
@@ -1,21 +1,21 @@
1
- MIT License
2
-
3
- Copyright (c) 2024 Robin De Schepper
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy
6
- of this software and associated documentation files (the "Software"), to deal
7
- in the Software without restriction, including without limitation the rights
8
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
- copies of the Software, and to permit persons to whom the Software is
10
- furnished to do so, subject to the following conditions:
11
-
12
- - The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
- SOFTWARE.
1
+ MIT License
2
+
3
+ Copyright (c) 2024 Robin De Schepper
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ - The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
data/README.md CHANGED
@@ -8,47 +8,50 @@ blocks for notes, warnings, tips, cautions, and important messages.
8
8
 
9
9
  The following admonitions are supported:
10
10
 
11
- - **Important**: `> [!IMPORTANT]`
12
- - **Note**: `> [!NOTE]`
13
- - **Tip**: `> [!TIP]`
14
- - **Warning**: `> [!WARNING]`
15
- - **Caution**: `> [!CAUTION]`
11
+ | **Type** | **Markdown** |
12
+ |---------------|-----------------------|
13
+ | Note | `> [!NOTE]` |
14
+ | Tip | `> [!TIP]` |
15
+ | Important | `> [!IMPORTANT]` |
16
+ | Warning | `> [!WARNING]` |
17
+ | Caution | `> [!CAUTION]` |
18
+
16
19
 
17
20
  ### Example Usage
18
21
 
19
22
  To use admonitions in your markdown files, simply add the following syntax:
20
23
 
21
24
  ```markdown
22
- > [!IMPORTANT]
23
- > This is an **important** message.
24
-
25
- > [!NOTE]
26
- > This is a **note**.
25
+ > [!NOTE]
26
+ > Highlights information that users should take into account, even when skimming.
27
27
 
28
28
  > [!TIP]
29
- > This is a **helpful** tip.
29
+ > Optional information to help a user be more successful.
30
30
 
31
- > [!WARNING]
32
- > This is a **warning**.
31
+ > [!IMPORTANT]
32
+ > Crucial information necessary for users to succeed.
33
+
34
+ > [!WARNING]
35
+ > Critical content demanding immediate user attention due to potential risks.
33
36
 
34
37
  > [!CAUTION]
35
- > This is a **caution** message.
38
+ > Negative potential consequences of an action.
36
39
  ```
37
40
 
38
- > [!IMPORTANT]
39
- > This is an **important** message.
40
-
41
- > [!NOTE]
42
- > This is a **note**.
41
+ > [!NOTE]
42
+ > Highlights information that users should take into account, even when skimming.
43
43
 
44
44
  > [!TIP]
45
- > This is a **helpful** tip.
45
+ > Optional information to help a user be more successful.
46
46
 
47
- > [!WARNING]
48
- > This is a **warning**.
47
+ > [!IMPORTANT]
48
+ > Crucial information necessary for users to succeed.
49
+
50
+ > [!WARNING]
51
+ > Critical content demanding immediate user attention due to potential risks.
49
52
 
50
53
  > [!CAUTION]
51
- > This is a **caution** message.
54
+ > Negative potential consequences of an action.
52
55
 
53
56
  ## Installation
54
57
 
@@ -61,16 +64,9 @@ group :jekyll_plugins do
61
64
 
62
65
  # ... Add this line:
63
66
  gem "jekyll-gfm-admonitions"
64
- gem "jekyll-optional-front-matter"
65
67
  end
66
68
  ```
67
69
 
68
- > [!TIP]
69
- >
70
- > By installing `jekyll-optional-front-matter` alongside this package, you won't need to
71
- > add ([visible](https://github.com/github/markup/issues/994)) frontmatter headers to each
72
- > of your files.
73
-
74
70
  Then run:
75
71
 
76
72
  ```bash
@@ -84,7 +80,6 @@ Next, you need to enable the plugin in your Jekyll configuration file (`_config.
84
80
  ```yaml
85
81
  plugins:
86
82
  - jekyll-gfm-admonitions
87
- - jekyll-optional-front-matter
88
83
  ```
89
84
 
90
85
  Then, during `build`/`serve`, you should see logs similar to:
@@ -158,28 +153,6 @@ end
158
153
  gem 'jekyll-remote-theme'
159
154
  ```
160
155
 
161
- ### Add [front matter](https://jekyllrb.com/docs/front-matter/)
162
-
163
- This step is optional if you've added `jekyll-front-matter`. If you do not, any file
164
- without a front matter header will be ignored by Jekyll, and only partially included by
165
- the GitHub Pages plugin.
166
-
167
- Make sure that all your `.md` files begin with a valid front matter header:
168
-
169
- ```markdown
170
- ---
171
- ---
172
-
173
- Your markdown files should start like this.
174
- ```
175
-
176
- > [!IMPORTANT]
177
- >
178
- > Your root `README.md` front matter should contain the following `permalink` attribute:
179
- > ```yaml
180
- > permalink: /index.html
181
- > ```
182
-
183
156
  ## License
184
157
 
185
158
  This project is licensed under the MIT License. See the [LICENSE.txt](LICENSE.txt) file
@@ -1,73 +1,69 @@
1
- .markdown-alert {
2
- padding: 0.5rem 1rem;
3
- margin-bottom: 1rem;
4
- color: inherit;
5
- border-left: .25em solid #30363d;
6
- }
7
-
8
- .markdown-body .markdown-alert > :first-child {
9
- margin-top: 0;
10
- }
11
-
12
- .markdown-body .markdown-alert > :last-child {
13
- margin-bottom: 0;
14
- }
15
-
16
- .markdown-body .markdown-alert .markdown-alert-title {
17
- display: flex;
18
- font-weight: 500;
19
- align-items: center;
20
- line-height: 1;
21
- }
22
-
23
- .markdown-body .markdown-alert svg {
24
- margin-right: 0.5rem !important;
25
- }
26
-
27
- .markdown-body .markdown-alert svg path {
28
- fill: currentColor;
29
- }
30
-
31
- .markdown-body .markdown-alert.markdown-alert-note {
32
- border-left-color: #4493f8;
33
- }
34
-
35
- .markdown-body .markdown-alert.markdown-alert-note .markdown-alert-title {
36
- color: #4493f8;
37
- }
38
-
39
- .markdown-body .markdown-alert.markdown-alert-important {
40
- border-left-color: #ab7df8;
41
- }
42
-
43
- .markdown-body .markdown-alert.markdown-alert-important .markdown-alert-title {
44
- color: #ab7df8;
45
- }
46
-
47
- .markdown-body .markdown-alert.markdown-alert-warning {
48
- border-left-color: #9e6a03;
49
- }
50
-
51
- .markdown-body .markdown-alert.markdown-alert-warning .markdown-alert-title {
52
- color: #d29922;
53
- }
54
-
55
- .markdown-body .markdown-alert.markdown-alert-tip {
56
- border-left-color: #238636;
57
- }
58
-
59
- .markdown-body .markdown-alert.markdown-alert-tip .markdown-alert-title {
60
- color: #3fb950;
61
- }
62
-
63
- .markdown-body .markdown-alert.markdown-alert-caution {
64
- border-left-color: #da3633;
65
- }
66
-
67
- .markdown-body .markdown-alert.markdown-alert-caution .markdown-alert-title {
68
- color: #f85149;
69
- }
70
-
71
- .markdown-body > :first-child > .heading-element:first-child {
72
- margin-top: 0 !important;
1
+ .markdown-alert {
2
+ padding: 0.5rem 1rem;
3
+ margin-bottom: 1rem;
4
+ color: inherit;
5
+ border-left: .25em solid #30363d;
6
+ }
7
+
8
+ .markdown-alert > :first-child {
9
+ margin-top: 0;
10
+ }
11
+
12
+ .markdown-alert > :last-child {
13
+ margin-bottom: 0;
14
+ }
15
+
16
+ .markdown-alert .markdown-alert-title {
17
+ display: flex;
18
+ font-weight: 500;
19
+ align-items: center;
20
+ line-height: 1;
21
+ }
22
+
23
+ .markdown-alert svg {
24
+ margin-right: 0.5rem !important;
25
+ }
26
+
27
+ .markdown-alert svg path {
28
+ fill: currentColor;
29
+ }
30
+
31
+ .markdown-alert.markdown-alert-note {
32
+ border-left-color: #4493f8;
33
+ }
34
+
35
+ .markdown-alert.markdown-alert-note .markdown-alert-title {
36
+ color: #4493f8;
37
+ }
38
+
39
+ .markdown-alert.markdown-alert-important {
40
+ border-left-color: #ab7df8;
41
+ }
42
+
43
+ .markdown-alert.markdown-alert-important .markdown-alert-title {
44
+ color: #ab7df8;
45
+ }
46
+
47
+ .markdown-alert.markdown-alert-warning {
48
+ border-left-color: #9e6a03;
49
+ }
50
+
51
+ .markdown-alert.markdown-alert-warning .markdown-alert-title {
52
+ color: #d29922;
53
+ }
54
+
55
+ .markdown-alert.markdown-alert-tip {
56
+ border-left-color: #238636;
57
+ }
58
+
59
+ .markdown-alert.markdown-alert-tip .markdown-alert-title {
60
+ color: #3fb950;
61
+ }
62
+
63
+ .markdown-alert.markdown-alert-caution {
64
+ border-left-color: #da3633;
65
+ }
66
+
67
+ .markdown-alert.markdown-alert-caution .markdown-alert-title {
68
+ color: #f85149;
73
69
  }
@@ -1,120 +1,131 @@
1
- # frozen_string_literal: true
2
-
3
- require 'octicons'
4
- require 'cssminify'
5
- require 'liquid/template'
6
-
7
- ADMONITION_ICONS = {
8
- 'important' => 'report',
9
- 'note' => 'info',
10
- 'tip' => 'light-bulb',
11
- 'warning' => 'alert',
12
- 'caution' => 'stop'
13
- }.freeze
14
-
15
- # JekyllGFMAdmonitions is a module that provides functionality to process and
16
- # convert GitHub-flavored markdown admonitions into HTML within Jekyll.
17
- module JekyllGFMAdmonitions
18
- # GFMAdmonitionConverter is a Jekyll generator that converts custom
19
- # admonition blocks in markdown (e.g., `> [!IMPORTANT]`) into styled HTML
20
- # alert boxes with icons.
21
- #
22
- # This generator processes both posts and pages, replacing admonition
23
- # syntax with HTML markup that includes appropriate iconography and CSS styling.
24
- class GFMAdmonitionConverter < Jekyll::Generator
25
- safe true
26
- priority :lowest
27
- @@admonition_pages = []
28
-
29
- def initialize(*args)
30
- super(*args)
31
- @converted = 0
32
- end
33
-
34
- def generate(site)
35
- @markdown = site.converters.find { |c| c.is_a?(Jekyll::Converters::Markdown) }
36
- unless @markdown
37
- raise "Markdown converter not found. Please ensure that you have a markdown converter configured in your Jekyll site."
38
- end
39
-
40
- # Process admonitions in posts
41
- site.posts.docs.each do |doc|
42
- Jekyll.logger.debug 'GFMA:', "Processing post '#{doc.path}' (#{doc.content.length} characters)."
43
- process(doc)
44
- end
45
-
46
- # Process admonitions in pages
47
- site.pages.each do |page|
48
- # Patch the root README for GitHub Pages builds
49
- if page.path == 'README.md' && page.dir == '/'
50
- Jekyll.logger.info 'GFMA:', "Patched /README.html to /index.html"
51
- page.instance_variable_set(:@url, '/index.html')
52
- end
53
-
54
- Jekyll.logger.debug 'GFMA:', "Processing page '#{page.path}' (#{page.content.length} characters)."
55
- process(page)
56
- end
57
-
58
- Jekyll.logger.info 'GFMA:', "Converted adminitions in #{@converted} file(s)."
59
- end
60
-
61
- def process(doc)
62
- original_content = doc.content.dup
63
- convert_admonitions(doc)
64
-
65
- return unless doc.content != original_content
66
- # Store a reference to all the pages we modified, to inject the CSS post render
67
- # (otherwise GitHub Pages sanitizes the CSS into plaintext)
68
- @@admonition_pages << doc
69
- @converted += 1
70
- end
71
-
72
- def self.admonition_pages
73
- return @@admonition_pages
74
- end
75
-
76
- def convert_admonitions(doc)
77
- code_blocks = []
78
- # Temporarily replace code blocks by a tag, so that we don't process any admonitions
79
- # inside of code blocks.
80
- doc.content.gsub!(/(?:^|\n)(?<!>)\s*```.*?```/m) do |match|
81
- code_blocks << match
82
- "```{{CODE_BLOCK_#{code_blocks.length - 1}}}```"
83
- end
84
-
85
- # Match the admonition syntax
86
- doc.content.gsub!(/>\s*\[!(IMPORTANT|NOTE|WARNING|TIP|CAUTION)\]\s*\n((?:>.*\n?)*)/) do
87
- type = ::Regexp.last_match(1).downcase
88
- title = type.capitalize
89
- text = ::Regexp.last_match(2).gsub(/^>\s*/, '').strip
90
- icon = Octicons::Octicon.new(ADMONITION_ICONS[type]).to_svg
91
- Jekyll.logger.debug 'GFMA:', "Converting #{type} admonition."
92
-
93
- # Replace them by the GFM admonition HTML
94
- "<div class='markdown-alert markdown-alert-#{type}'>
95
- <p class='markdown-alert-title'>#{icon} #{title}</p>
96
- <p>#{@markdown.convert(text)}</p>
97
- </div>\n\n"
98
- end
99
-
100
- # Put the code blocks back in place
101
- doc.content.gsub!(/```\{\{CODE_BLOCK_(\d+)}}```/) do
102
- code_blocks[$1.to_i]
103
- end
104
- end
105
- end
106
-
107
- # Insert the minified CSS before the closing head tag of all pages we put admonitions on
108
- Jekyll::Hooks.register :site, :post_render do
109
- Jekyll.logger.info 'GFMA:', "Inserting admonition CSS in #{GFMAdmonitionConverter.admonition_pages.length} page(s)."
110
-
111
- GFMAdmonitionConverter.admonition_pages.each do |page|
112
- Jekyll.logger.debug 'GFMA:', "Appending admonition style to '#{page.path}'."
113
- css = File.read(File.expand_path('../assets/admonitions.css', __dir__))
114
-
115
- page.output.gsub!(/<head>(.*?)<\/head>/m) do |match|
116
- "#{match[0..-7]}<style>#{CSSminify.compress(css)}</style>#{match[-7..-1]}"
117
- end
118
- end
119
- end
120
- end
1
+ # frozen_string_literal: true
2
+
3
+ require 'octicons'
4
+ require 'cssminify'
5
+ require 'liquid/template'
6
+
7
+ ADMONITION_ICONS = {
8
+ 'important' => 'report',
9
+ 'note' => 'info',
10
+ 'tip' => 'light-bulb',
11
+ 'warning' => 'alert',
12
+ 'caution' => 'stop'
13
+ }.freeze
14
+
15
+ # JekyllGFMAdmonitions is a module that provides functionality to process and
16
+ # convert GitHub-flavored markdown admonitions into HTML within Jekyll.
17
+ module JekyllGFMAdmonitions
18
+ # GFMAdmonitionConverter is a Jekyll generator that converts custom
19
+ # admonition blocks in markdown (e.g., `> [!IMPORTANT]`) into styled HTML
20
+ # alert boxes with icons.
21
+ #
22
+ # This generator processes both posts and pages, replacing admonition
23
+ # syntax with HTML markup that includes appropriate iconography and CSS styling.
24
+ class GFMAdmonitionConverter < Jekyll::Generator
25
+ safe true
26
+ priority :lowest
27
+ @admonition_pages = []
28
+
29
+ class << self
30
+ attr_reader :admonition_pages
31
+ end
32
+
33
+
34
+ def generate(site)
35
+ init_converter(site)
36
+ process_posts(site)
37
+ process_pages(site)
38
+ Jekyll.logger.info 'GFMA:', 'Converted adminitions in' \
39
+ " #{self.class.admonition_pages.length} file(s)."
40
+ end
41
+
42
+ def init_converter(site)
43
+ @markdown = site.converters.find { |c| c.is_a?(Jekyll::Converters::Markdown) }
44
+ return if @markdown
45
+
46
+ raise 'Markdown converter not found. Please ensure that you have a markdown' \
47
+ ' converter configured in your Jekyll site.'
48
+ end
49
+
50
+ def process_posts(site)
51
+ site.posts.docs.each do |doc|
52
+ Jekyll.logger.debug 'GFMA:', "Processing post '#{doc.path}' (#{doc.content.length} characters)."
53
+ process_doc(doc)
54
+ end
55
+ end
56
+
57
+ def process_pages(site)
58
+ site.pages.each do |page|
59
+ Jekyll.logger.debug 'GFMA:', "Processing page '#{page.path}' (#{page.content.length} characters)."
60
+ process_doc_content(page)
61
+ end
62
+ end
63
+
64
+ def process_doc_content(doc)
65
+ original_content = doc.content.dup
66
+ process_doc(doc)
67
+
68
+ return unless doc.content != original_content
69
+
70
+ # Store a reference to all the pages we modified, to inject the CSS post render
71
+ # (otherwise GitHub Pages sanitizes the CSS into plaintext)
72
+ self.class.admonition_pages << doc
73
+ end
74
+
75
+ def process_doc(doc)
76
+ code_blocks = []
77
+ # Temporarily replace code blocks by a tag, so that we don't process any admonitions
78
+ # inside of code blocks.
79
+ doc.content.gsub!(/(?:^|\n)(?<!>)\s*```.*?```/m) do |match|
80
+ code_blocks << match
81
+ "```{{CODE_BLOCK_#{code_blocks.length - 1}}}```"
82
+ end
83
+
84
+ convert_admonitions(doc)
85
+
86
+ # Put the code blocks back in place
87
+ doc.content.gsub!(/```\{\{CODE_BLOCK_(\d+)}}```/) do
88
+ code_blocks[::Regexp.last_match(1).to_i]
89
+ end
90
+ end
91
+
92
+ def convert_admonitions(doc)
93
+ doc.content.gsub!(/>\s*\[!(IMPORTANT|NOTE|WARNING|TIP|CAUTION)\]\s*\n((?:>.*\n?)*)/) do
94
+ type = ::Regexp.last_match(1).downcase
95
+ title = type.capitalize
96
+ text = ::Regexp.last_match(2).gsub(/^>\s*/, '').strip
97
+ icon = Octicons::Octicon.new(ADMONITION_ICONS[type]).to_svg
98
+ Jekyll.logger.debug 'GFMA:', "Converting #{type} admonition."
99
+
100
+ admonition_html(type, title, text, icon)
101
+ end
102
+ end
103
+
104
+ def admonition_html(type, title, text, icon)
105
+ "<div class='markdown-alert markdown-alert-#{type}'>
106
+ <p class='markdown-alert-title'>#{icon} #{title}</p>
107
+ <p>#{@markdown.convert(text)}</p>
108
+ </div>\n\n"
109
+ end
110
+ end
111
+
112
+ # Insert the minified CSS before the closing head tag of all pages we put admonitions on
113
+ Jekyll::Hooks.register :site, :post_render do
114
+ Jekyll.logger.info 'GFMA:', "Inserting admonition CSS in #{GFMAdmonitionConverter.admonition_pages.length} page(s)."
115
+
116
+ GFMAdmonitionConverter.admonition_pages.each do |page|
117
+ Jekyll.logger.debug 'GFMA:', "Appending admonition style to '#{page.path}'."
118
+ css = File.read(File.expand_path('../assets/admonitions.css', __dir__))
119
+
120
+ page.output.gsub!(%r{<head>(.*?)</head>}m) do |match|
121
+ "#{match[0..-7]}<style>#{CSSminify.compress(css)}</style>#{match[-7..]}"
122
+ end
123
+
124
+ # If no <head> tag is found, insert the CSS at the start of the output
125
+ if !page.output.match(%r{<head>(.*?)</head>}m)
126
+ Jekyll.logger.debug 'GFMA:', "No <head> tag found in '#{page.path}', inserting CSS at the beginning of the page."
127
+ page.output = "<head><style>#{CSSminify.compress(css)}</style></head>" + page.output
128
+ end
129
+ end
130
+ end
131
+ end
metadata CHANGED
@@ -1,43 +1,49 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-gfm-admonitions
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Robin De Schepper
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-09-28 00:00:00.000000000 Z
11
+ date: 2025-01-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
- name: jekyll
14
+ name: cssminify
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '3.0'
19
+ version: '1.0'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '3.0'
26
+ version: '1.0'
27
27
  - !ruby/object:Gem::Dependency
28
- name: cssminify
28
+ name: jekyll
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
- - - "~>"
31
+ - - ">="
32
32
  - !ruby/object:Gem::Version
33
- version: '1.0'
33
+ version: '3.0'
34
+ - - "<"
35
+ - !ruby/object:Gem::Version
36
+ version: '5.0'
34
37
  type: :runtime
35
38
  prerelease: false
36
39
  version_requirements: !ruby/object:Gem::Requirement
37
40
  requirements:
38
- - - "~>"
41
+ - - ">="
39
42
  - !ruby/object:Gem::Version
40
- version: '1.0'
43
+ version: '3.0'
44
+ - - "<"
45
+ - !ruby/object:Gem::Version
46
+ version: '5.0'
41
47
  - !ruby/object:Gem::Dependency
42
48
  name: octicons
43
49
  requirement: !ruby/object:Gem::Requirement
@@ -97,7 +103,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
97
103
  - !ruby/object:Gem::Version
98
104
  version: '0'
99
105
  requirements: []
100
- rubygems_version: 3.5.20
106
+ rubygems_version: 3.5.22
101
107
  signing_key:
102
108
  specification_version: 4
103
109
  summary: A Jekyll plugin to render GitHub-flavored admonitions.