jekyll-webawesome 0.10.0 → 0.12.0
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 +4 -4
- data/CHANGELOG.md +14 -0
- data/README.md +29 -13
- data/jekyll-webawesome.gemspec +1 -1
- data/lib/jekyll/webawesome/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: aed77f29e5a3ab5d74e76d237ffdce23b1984c408c0753bbc3b73944a1d3698a
|
|
4
|
+
data.tar.gz: 5806f68d8f8564cc51ffae8f21fcd3cf9e4c1d980131d31014660b2149018970
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a31bfaa6e6c070c01f5f7d91475d495b02dee4b2b7bfca62dff6079e9e4c294c89cf5a3dc5fcb0be07f94d2308529b4d912041c313827311b5a82331e9d473e2
|
|
7
|
+
data.tar.gz: c009c3bd6956c0d3c671c507047f80648a97ec169029b281a83bad47aa89b81e638cea5132223f89c00205ec33c9fa89ead304b028ce25f7f6bf2eed16c6e088
|
data/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,20 @@ All notable changes to this project will be documented in this file.
|
|
|
4
4
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/)
|
|
6
6
|
|
|
7
|
+
## [0.12.0] - 2026-02-14
|
|
8
|
+
|
|
9
|
+
### Changed
|
|
10
|
+
|
|
11
|
+
- **BREAKING: Card header syntax** — Card headers now use `**bold text**` instead of `# heading` via markawesome 0.6.0. The first bold-only line inside a card block becomes the header slot. This avoids markdownlint warnings (MD025, MD001) and better reflects that card titles are not semantic document headings.
|
|
12
|
+
- Updated `markawesome` dependency to `~> 0.6`
|
|
13
|
+
- Example site updated with new card header syntax
|
|
14
|
+
|
|
15
|
+
## [0.11.0] - 2026-02-10
|
|
16
|
+
|
|
17
|
+
### Added
|
|
18
|
+
|
|
19
|
+
- Icon component and layout utilities table added to README
|
|
20
|
+
|
|
7
21
|
## [0.10.0] - 2026-02-10
|
|
8
22
|
|
|
9
23
|
### Added
|
data/README.md
CHANGED
|
@@ -23,6 +23,7 @@ This plugin focuses on the most commonly used Web Awesome components for Jekyll
|
|
|
23
23
|
| **Copy Button** | `<<<placement? disabled? duration? labels?` | `:::wa-copy-button attributes?` | `<wa-copy-button value="content" tooltip-placement="right" disabled>` |
|
|
24
24
|
| **Details** | `^^^appearance? icon-placement?` | `:::wa-details appearance? icon-placement?` | `<wa-details appearance="..." icon-placement="...">content</wa-details>` |
|
|
25
25
|
| **Dialog** | `???params?` | `:::wa-dialog params?` | `<wa-dialog>` with trigger button and content |
|
|
26
|
+
| **Icon** | `$$$icon-name` | `:::wa-icon name` | `<wa-icon name="icon-name" variant="solid"></wa-icon>` |
|
|
26
27
|
| **Tab Group** | `++++++` | `:::wa-tabs` | `<wa-tab-group><wa-tab>content</wa-tab></wa-tab-group>` |
|
|
27
28
|
| **Tag** | `@@@brand` | `:::wa-tag brand` | `<wa-tag variant="brand">content</wa-tag>` |
|
|
28
29
|
|
|
@@ -30,6 +31,21 @@ Not all components will make sense to include here, to be included in the "prose
|
|
|
30
31
|
|
|
31
32
|
Both syntax styles work identically and can be mixed within the same document.
|
|
32
33
|
|
|
34
|
+
### Layout utilities
|
|
35
|
+
|
|
36
|
+
Layout containers use `::::` (quadruple colon) syntax to wrap content in Web Awesome CSS layout utilities. Layouts compose with component syntax — use `:::` components inside `::::` layouts.
|
|
37
|
+
|
|
38
|
+
| Layout | Primary Syntax | Key Attributes | Description |
|
|
39
|
+
|--------|----------------|----------------|-------------|
|
|
40
|
+
| **Grid** | `::::grid` | `min:SIZE`, `gap:SIZE` | Responsive auto-wrapping grid |
|
|
41
|
+
| **Stack** | `::::stack` | `gap:SIZE` | Vertical spacing |
|
|
42
|
+
| **Cluster** | `::::cluster` | `gap:SIZE`, `justify:VALUE` | Inline wrapping elements (tag clouds, button groups) |
|
|
43
|
+
| **Split** | `::::split` | `gap:SIZE`, `row`/`column` | Even two-column/row distribution |
|
|
44
|
+
| **Flank** | `::::flank` | `size:SIZE`, `content:SIZE`, `gap:SIZE` | Sidebar + main content |
|
|
45
|
+
| **Frame** | `::::frame` | `landscape`/`portrait`/`square`, `radius:VALUE` | Aspect ratio containers |
|
|
46
|
+
|
|
47
|
+
Common attributes across all layouts: `gap:SIZE`, `align:VALUE`, `justify:VALUE`. Alternative `::::wa-*` syntax is supported for all layout types.
|
|
48
|
+
|
|
33
49
|
## Installation
|
|
34
50
|
|
|
35
51
|
Add this line to your application's Gemfile:
|
|
@@ -208,11 +224,11 @@ This is a basic card with just content.
|
|
|
208
224
|
|
|
209
225
|
#### Cards with Headers
|
|
210
226
|
|
|
211
|
-
The first
|
|
227
|
+
The first bold line (`**text**`) automatically becomes the card header:
|
|
212
228
|
|
|
213
229
|
```markdown
|
|
214
230
|
===
|
|
215
|
-
|
|
231
|
+
**Card Title**
|
|
216
232
|
This is the card content that appears in the main area.
|
|
217
233
|
===
|
|
218
234
|
```
|
|
@@ -224,7 +240,7 @@ The first image automatically becomes the card media:
|
|
|
224
240
|
```markdown
|
|
225
241
|
===
|
|
226
242
|

|
|
227
|
-
|
|
243
|
+
**Featured Content**
|
|
228
244
|
This card includes both an image and a title.
|
|
229
245
|
===
|
|
230
246
|
```
|
|
@@ -235,8 +251,8 @@ Links at the end of the card content automatically become footer buttons:
|
|
|
235
251
|
|
|
236
252
|
```markdown
|
|
237
253
|
===
|
|
238
|
-
|
|
239
|
-
Ready to begin your journey?
|
|
254
|
+
**Get Started**
|
|
255
|
+
Ready to begin your journey?
|
|
240
256
|
[Learn More](https://example.com)
|
|
241
257
|
===
|
|
242
258
|
```
|
|
@@ -248,7 +264,7 @@ You can combine all elements for rich content cards:
|
|
|
248
264
|
```markdown
|
|
249
265
|
===filled
|
|
250
266
|

|
|
251
|
-
|
|
267
|
+
**Complete Example**
|
|
252
268
|
This card has media, header, content, and footer with a filled appearance.
|
|
253
269
|
[Get Started](https://example.com)
|
|
254
270
|
===
|
|
@@ -260,22 +276,22 @@ You can specify different visual styles:
|
|
|
260
276
|
|
|
261
277
|
```markdown
|
|
262
278
|
===filled
|
|
263
|
-
|
|
279
|
+
**Filled Card**
|
|
264
280
|
This card uses the filled appearance.
|
|
265
281
|
===
|
|
266
282
|
|
|
267
283
|
===plain
|
|
268
|
-
|
|
284
|
+
**Plain Card**
|
|
269
285
|
This card uses the plain appearance.
|
|
270
286
|
===
|
|
271
287
|
|
|
272
288
|
===filled-outlined
|
|
273
|
-
|
|
289
|
+
**Filled Outlined Card**
|
|
274
290
|
This card uses the filled-outlined appearance.
|
|
275
291
|
===
|
|
276
292
|
|
|
277
293
|
===accent
|
|
278
|
-
|
|
294
|
+
**Accent Card**
|
|
279
295
|
This card uses the accent appearance for emphasis.
|
|
280
296
|
===
|
|
281
297
|
```
|
|
@@ -287,13 +303,13 @@ Cards can be displayed in horizontal layout for side-by-side presentation:
|
|
|
287
303
|
```markdown
|
|
288
304
|
===horizontal
|
|
289
305
|

|
|
290
|
-
|
|
306
|
+
**Horizontal Card**
|
|
291
307
|
This card displays with a side-by-side layout where media appears on the left.
|
|
292
308
|
===
|
|
293
309
|
|
|
294
310
|
===filled horizontal
|
|
295
311
|

|
|
296
|
-
|
|
312
|
+
**Combined Attributes**
|
|
297
313
|
You can combine appearance and orientation in any order.
|
|
298
314
|
===
|
|
299
315
|
```
|
|
@@ -1394,7 +1410,7 @@ Cards support flexible attribute ordering using space-separated parameters:
|
|
|
1394
1410
|
Cards automatically parse content into these slots:
|
|
1395
1411
|
|
|
1396
1412
|
- **Media**: First image becomes media slot
|
|
1397
|
-
- **Header**: First
|
|
1413
|
+
- **Header**: First `**bold line**` becomes header slot
|
|
1398
1414
|
- **Content**: Remaining content becomes main content
|
|
1399
1415
|
- **Footer**: Trailing links become footer buttons
|
|
1400
1416
|
|
data/jekyll-webawesome.gemspec
CHANGED
|
@@ -33,7 +33,7 @@ Gem::Specification.new do |spec|
|
|
|
33
33
|
spec.require_paths = ['lib']
|
|
34
34
|
|
|
35
35
|
spec.add_dependency 'jekyll', '>= 3.7', '< 5.0'
|
|
36
|
-
spec.add_dependency 'markawesome', '~> 0.
|
|
36
|
+
spec.add_dependency 'markawesome', '~> 0.6'
|
|
37
37
|
|
|
38
38
|
spec.add_development_dependency 'bundler', '~> 2.0'
|
|
39
39
|
spec.add_development_dependency 'rake', '~> 13.0'
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-webawesome
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.12.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Janne Waren
|
|
@@ -35,14 +35,14 @@ dependencies:
|
|
|
35
35
|
requirements:
|
|
36
36
|
- - "~>"
|
|
37
37
|
- !ruby/object:Gem::Version
|
|
38
|
-
version: '0.
|
|
38
|
+
version: '0.6'
|
|
39
39
|
type: :runtime
|
|
40
40
|
prerelease: false
|
|
41
41
|
version_requirements: !ruby/object:Gem::Requirement
|
|
42
42
|
requirements:
|
|
43
43
|
- - "~>"
|
|
44
44
|
- !ruby/object:Gem::Version
|
|
45
|
-
version: '0.
|
|
45
|
+
version: '0.6'
|
|
46
46
|
- !ruby/object:Gem::Dependency
|
|
47
47
|
name: bundler
|
|
48
48
|
requirement: !ruby/object:Gem::Requirement
|