jekyll_pre 1.4.6 → 1.4.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/README.md +33 -0
- data/lib/exec_tag.rb +1 -0
- data/lib/jekyll_pre/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9a156945af855f2ce50bb42141c6a64ce4aaa61bd75cf9d220f00587e362c213
|
4
|
+
data.tar.gz: 2ccb2e202e9100ca00b4e5f166bcfd5f7a02ef7c2150b091e5e5bee7ea41468b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fcaecd9c72063b080b54803bd5276b82e41e36f1e1d18b7d81bae79b29b59a94457ccecf5f45ad225e61368053c3c282f6956c3eb659f3bcaa873c1afcece9bb
|
7
|
+
data.tar.gz: f37962b1b94b63e2bc53fc2363d20054fc64467f9ad470ed227e949b4850142b8c29b273c1e41dc5a1ed4725bf62cb9d298d3aca686fe4eeef115560442326d6
|
data/CHANGELOG.md
CHANGED
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
data/lib/jekyll_pre/version.rb
CHANGED
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.
|
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-
|
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.
|
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
|