jekyll_pre 1.4.6 → 1.4.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: 5b84c77d011c319901f75350aab6ecfcad105dcaa3068b478911150d6fccc4b4
4
- data.tar.gz: 6d6a2852fb621a33bb09b3ca9084be581b543f9022213728fbba5396f6864b67
3
+ metadata.gz: 9a156945af855f2ce50bb42141c6a64ce4aaa61bd75cf9d220f00587e362c213
4
+ data.tar.gz: 2ccb2e202e9100ca00b4e5f166bcfd5f7a02ef7c2150b091e5e5bee7ea41468b
5
5
  SHA512:
6
- metadata.gz: d92536fab946b2917acfe3e9f442514a1be3ca1d7cf5b0073118451c71496a9f55e912b3e0e509d7ac40e3bea65e74d398e23ca05c5207589e214cacfb8d0453
7
- data.tar.gz: 3629760054527aac3d0447d65ba6ccf90873d750e1345d1214a19d915e8bbf5052346f7606d8e53b085d0a575dc24ac2b9bf290c94980dec17d5178f7a9b11bc
6
+ metadata.gz: fcaecd9c72063b080b54803bd5276b82e41e36f1e1d18b7d81bae79b29b59a94457ccecf5f45ad225e61368053c3c282f6956c3eb659f3bcaa873c1afcece9bb
7
+ data.tar.gz: f37962b1b94b63e2bc53fc2363d20054fc64467f9ad470ed227e949b4850142b8c29b273c1e41dc5a1ed4725bf62cb9d298d3aca686fe4eeef115560442326d6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Change Log
2
2
 
3
+ ## 1.4.7
4
+
5
+ * `dark` and `bg_yellow` css tags now have black text.
6
+ * `exec` works again.
7
+
8
+
3
9
  ## 1.4.6
4
10
 
5
11
  * Made compatible with `jekyll_plugin_support` v1.0.0
data/README.md CHANGED
@@ -192,6 +192,8 @@ More information is available on
192
192
 
193
193
  ## Installation
194
194
 
195
+ ### Gem
196
+
195
197
  Add this line to your application's Gemfile, within the `jekyll_plugins` group:
196
198
 
197
199
  ```ruby
@@ -207,6 +209,37 @@ $ bundle
207
209
  ```
208
210
 
209
211
 
212
+ ### CSS and Assets
213
+
214
+ Copy assets and CSS from the demo/ directory of the jekyll_pre GitHub project.
215
+
216
+ * Copy `demo/assets/images/clippy.svg` to a directory of the same name in your Jekyll project.
217
+ * Copy `demo/assets/css/jekyll_plugin_support.css` to your Jekyll project assets directory.
218
+ * Copy `demo/assets/css/shared_include_pre.css` to your Jekyll project assets directory.
219
+ * Copy `demo/assets/css/jekyll_pre.css` to your Jekyll project assets directory.
220
+ * Incorporate the CSS stylesheets into the appropriate layout in your Jekyll project:
221
+
222
+ ```html
223
+ {% assign nowMillis = site.time | date: '%s' %}
224
+ <link rel="stylesheet" href="{{ '/assets/css/jekyll_plugin_support.css?v=' | append: nowMillis }}" type="text/css">
225
+ <link rel="stylesheet" href="{{ '/assets/css/shared_include_pre.css?v=' | append: nowMillis }}" type="text/css">
226
+ <link rel="stylesheet" href="{{ '/assets/css/jekyll_pre.css?v=' | append: nowMillis }}" type="text/css">
227
+ ```
228
+
229
+
230
+ ### JavaScript
231
+
232
+ Copy `demo/assets/js/clipboard.min.js` from the `jekyll_flexible_include_plugin` GitHub project
233
+ to your Jekyll project’s JavaScript directory.
234
+
235
+ Modify the Jekyll layout or selected pages to load the JavaScript.
236
+ You can load it from your project, as shown below, or from a CDN.
237
+
238
+ ```html
239
+ <script defer src="/assets/js/clipboard.min.js"></script>
240
+ ```
241
+
242
+
210
243
  ## Usage
211
244
 
212
245
  The following examples are rendered on
data/lib/exec_tag.rb CHANGED
@@ -1,4 +1,5 @@
1
1
  require 'jekyll_plugin_support'
2
+ require 'open3'
2
3
  require 'rack/utils'
3
4
  require_relative 'jekyll_pre/version'
4
5
 
@@ -1,3 +1,3 @@
1
1
  module JekyllPreVersion
2
- VERSION = '1.4.6'.freeze
2
+ VERSION = '1.4.7'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll_pre
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.6
4
+ version: 1.4.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mike Slinn
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-07-26 00:00:00.000000000 Z
11
+ date: 2024-08-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: '0'
106
106
  requirements: []
107
- rubygems_version: 3.5.16
107
+ rubygems_version: 3.5.17
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Jekyll tags pre and noselect, for HTML <pre/> tag, prompts and unselectable