j1_template_mde 2018.4.27 → 2018.4.28

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.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/themes/j1/procedures/posts/create_ad_block.proc +12 -12
  3. data/lib/j1/templates/posts/0000-00-00-welcome-to-j1-template.adoc.erb +27 -24
  4. data/lib/j1/version.rb +1 -1
  5. data/lib/starter_web/Gemfile +2 -2
  6. data/lib/starter_web/_config.yml +1 -1
  7. data/lib/starter_web/_plugins/asciidoctor-extensions/fab-icon-inline.rb +1 -1
  8. data/lib/starter_web/_plugins/asciidoctor-extensions/fas-icon-inline.rb +1 -1
  9. data/lib/starter_web/_plugins/asciidoctor-extensions/lightbox-block.rb +1 -1
  10. data/lib/starter_web/_plugins/asciidoctor-extensions/mdi-icon-inline.rb +1 -1
  11. data/lib/starter_web/_plugins/asciidoctor-extensions/twitter-emoji-inline.rb +1 -1
  12. data/lib/starter_web/assets/images/{pages/roundtrip/100_present_images → master_header}/tables-1920.jpg +0 -0
  13. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/{image-3.jpg → lightbox-image-1.jpg} +0 -0
  14. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/{image-4.jpg → lightbox-image-2.jpg} +0 -0
  15. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/{image-5.jpg → lightbox-image-3.jpg} +0 -0
  16. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/{thumb-3.jpg → lightbox-thumb-1.jpg} +0 -0
  17. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/{thumb-4.jpg → lightbox-thumb-2.jpg} +0 -0
  18. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/{thumb-5.jpg → lightbox-thumb-3.jpg} +0 -0
  19. data/lib/starter_web/assets/themes/j1/core/css/vendor.css +6 -7
  20. data/lib/starter_web/assets/themes/j1/core/css/vendor.min.css +1 -1
  21. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/mdb.js +1 -1
  22. data/lib/starter_web/assets/themes/j1/extensions/mdb/js/modules/chart.js +1 -1
  23. data/lib/starter_web/collections/posts/public/featured/_posts/0000-00-00-welcome-to-j1-template.adoc.erb +5 -39
  24. data/lib/starter_web/package.json +1 -1
  25. data/lib/starter_web/pages/private/previewer/mdi_icons_preview.adoc +1 -1
  26. data/lib/starter_web/pages/private/previewer/twitter_emoji_preview.adoc +1 -1
  27. data/lib/starter_web/pages/public/previewer/bootstrap_theme.adoc +1 -1
  28. data/lib/starter_web/pages/public/start/{bmd_examples → _unused/bmd_examples}/000_includes/attributes.asciidoc +0 -0
  29. data/lib/starter_web/pages/public/start/{bmd_examples → _unused/bmd_examples}/100_bmd_landing_page.asciidoc +0 -0
  30. data/lib/starter_web/pages/public/start/read_me_first.adoc +1 -1
  31. data/lib/starter_web/pages/public/start/roundtrip/000_includes/attributes.asciidoc +2 -2
  32. data/lib/starter_web/pages/public/start/roundtrip/000_includes/documents/100_gistblock.asciidoc +1 -1
  33. data/lib/starter_web/pages/public/start/roundtrip/100_present_images.adoc +8 -8
  34. data/lib/starter_web/pages/public/start/roundtrip/200_cards.adoc +2 -2
  35. data/lib/starter_web/pages/public/start/roundtrip/300_typography.adoc +1 -1
  36. data/lib/starter_web/pages/public/start/roundtrip/400_icon_fonts.adoc +12 -11
  37. data/lib/starter_web/pages/public/start/roundtrip/500_asciidoc_extensions.adoc +133 -86
  38. data/lib/starter_web/pages/public/start/roundtrip/600_themes.adoc +1 -1
  39. data/lib/starter_web/pages/public/start/roundtrip/700_extended_modals.adoc +5 -5
  40. metadata +11 -15
  41. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/image-1.jpg +0 -0
  42. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/image-2.jpg +0 -0
  43. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/thumb-1.jpg +0 -0
  44. data/lib/starter_web/assets/images/pages/roundtrip/100_present_images/thumb-2.jpg +0 -0
@@ -130,13 +130,13 @@ Find below an example of using the lightbox Lightbox *standalone*. See how
130
130
  *single* (individual) images are linked for the use with *Lightbox*.
131
131
 
132
132
  .A Lightbox block for standalone images
133
- lightbox::example-standalone[ 300, {data-images-standalone} ]
133
+ lightbox::example-standalone[ 400, {data-images-standalone} ]
134
134
 
135
135
  For a *group* of images (image sets), *Lightbox* support image *groups*. Click
136
136
  on the images below to see how *Lightbox* manage image groups.
137
137
 
138
138
  .A Lightbox block for grouped images
139
- lightbox::example-group[ 200, {data-images-group}, group ]
139
+ lightbox::example-group[ 400, {data-images-group}, group ]
140
140
 
141
141
 
142
142
  === LightGallery Example
@@ -159,14 +159,14 @@ dialog, sharing provider support and some more helpfull. Check what
159
159
  </div>
160
160
 
161
161
  <div id="lightgallery-roundtrip-example" class="imageblock mb-4" data-sub-html=".caption">
162
- <a href="{images-dir}/image-3.jpg" data-sub-html="#caption1">
163
- <img src="{images-dir}/thumb-3.jpg" alt="Golden Gate Bridge with San Francisco in distance">
162
+ <a href="{images-dir}/lightbox-image-1.jpg" data-sub-html="#caption1">
163
+ <img src="{images-dir}/lightbox-thumb-1.jpg" alt="Golden Gate Bridge with San Francisco in distance">
164
164
  </a>
165
- <a href="{images-dir}/image-4.jpg" data-sub-html="#caption2">
166
- <img src="{images-dir}/thumb-4.jpg" alt="Forest with mountains behind">
165
+ <a href="{images-dir}/lightbox-image-2.jpg" data-sub-html="#caption2">
166
+ <img src="{images-dir}/lightbox-thumb-2.jpg" alt="Forest with mountains behind">
167
167
  </a>
168
- <a href="{images-dir}/image-5.jpg" data-sub-html="#caption3">
169
- <img src="{images-dir}/thumb-5.jpg" alt="Bicyclist looking out over hill at ocean">
168
+ <a href="{images-dir}/lightbox-image-3.jpg" data-sub-html="#caption3">
169
+ <img src="{images-dir}/lightbox-thumb-3.jpg" alt="Bicyclist looking out over hill at ocean">
170
170
  </a>
171
171
  </div>
172
172
 
@@ -15,7 +15,7 @@ resource_options:
15
15
  - masthead:
16
16
  opacity: 0.2
17
17
  slides:
18
- - url: /assets/images/pages/roundtrip/cards-1920.jpg
18
+ - url: /"pages/roundtrip/cards-1920.jpg
19
19
  alt: Photo by Jack Hamilton on Unsplash
20
20
  caption: Photo by Jack Hamilton on Unsplash
21
21
  caption_href: https://unsplash.com/@jacc
@@ -350,7 +350,7 @@ lorem:sentences[4]
350
350
  <div class="card card-blog">
351
351
  <div class="card-image">
352
352
  <a href="#">
353
- <img class="img" src="/assets/images/pages/roundtrip/meeting.jpg" alt="image img12.jpg">
353
+ <img class="img" src="/"pages/roundtrip/meeting.jpg" alt="image img12.jpg">
354
354
  </a>
355
355
  </div>
356
356
  <div class="content">
@@ -15,7 +15,7 @@ resource_options:
15
15
  - masthead:
16
16
  opacity: 0.2
17
17
  slides:
18
- - url: /assets/images/pages/roundtrip/typography-1920.jpg
18
+ - url: /"pages/roundtrip/typography-1920.jpg
19
19
  alt: Photo by Alice Donovan Rousel on Unsplash
20
20
  caption: Photo by Alice Donovan Rouse on Unsplash
21
21
  caption_href: https://unsplash.com/alicekat/portfolio
@@ -3,7 +3,7 @@ title: Roundtrip
3
3
  tagline: Icon Fonts
4
4
  description: J1 Template Roundtrip - Icon Fonts
5
5
 
6
- tags: [ Template, Roundtrip, Material, Design, MDI, FontAwesome, Icon, Fonts ]
6
+ tags: [ Template, Roundtrip, Material, Design, MDI, Font Awesome, Icon, Fonts ]
7
7
  index: []
8
8
  categories: [ pages ]
9
9
 
@@ -15,7 +15,7 @@ resource_options:
15
15
  - masthead:
16
16
  opacity: 0.5
17
17
  slides:
18
- - url: /assets/images/pages/roundtrip/icon-fonts-1920.jpg
18
+ - url: /"pages/roundtrip/icon-fonts-1920.jpg
19
19
  alt: Photo by Harpal Singh on Unsplash
20
20
  caption: Photo by Harpal Singh on Unsplash
21
21
  caption_href: https://unsplash.com/aquatium/portfolio
@@ -53,11 +53,11 @@ include::{includedir}/attributes.asciidoc[tag=data]
53
53
  J1 template supports 2 very popular icons font sets out-of-the-box:
54
54
 
55
55
  * Material Design Icons
56
- * FontAwesome Icons V5
56
+ * Font Awesome Icons V5
57
57
 
58
58
  Both icon sets are very good in design and have a rich set of different Icons
59
59
  for many categories used for the Web. See below some details for _MDI_ and
60
- _FontAweSome_.
60
+ _Font Awesome_.
61
61
 
62
62
  === Material Design Icons
63
63
 
@@ -113,7 +113,7 @@ J1 implemetation regarding sizes, colors, animations etc. Go for the
113
113
  link:{previewer-mdi}[Preview Page, window="_blank"] and check-out what's
114
114
  possible using _MDI_ !
115
115
 
116
- === FontAwesome
116
+ === Font Awesome Icons
117
117
 
118
118
  Font Awesome is a font and icon toolkit based on CSS and LESS. It was made by
119
119
  Dave Gandy. For version 4 mainly for use with Twitter Bootstrap V3. The new
@@ -121,7 +121,7 @@ version, Font Awesome V5 was officially released on December 7, 2017 today
121
121
  with 2300+ icons included. Version 5 comes in two packages: Font Awesome *Free*
122
122
  and the *proprietary* Font Awesome *Pro* (available for a license fee).
123
123
 
124
- .FontAwesome V5 Icon examples
124
+ .Font Awesome V5 Icon examples
125
125
  ----
126
126
  Size of 1x: <i class="fas fa-1x fa-user"></i>
127
127
  Size of 3x: <i class="fas fa-3x fa-user"></i>
@@ -154,18 +154,19 @@ The free versions (all releases up to 4 and the free version for 5) are
154
154
  available under SIL Open Font License 1.1, Creative Commons Attribution 4.0,
155
155
  and MIT License.
156
156
 
157
- FontAwesome V5 meets the Material Design idea (of _Google_) and in compare to
157
+ Font Awesome V5 meets the Material Design idea (of _Google_) and in compare to
158
158
  Version 4, the current version is much more than a face-lifting. The Version 5
159
159
  comes with more than 2300+ icons but many of them are available with the *Pro*
160
160
  license only. For the *Free* version, a subset of 900+ icons is available.
161
161
 
162
- NOTE: The CSS styles for FontAwesome V5 has been extended for J1 Template to
162
+ NOTE: The CSS styles for Font Awesome V5 has been extended for J1 Template to
163
163
  the *same* styles (and their respective *names*) as for other Font Icon sets.
164
164
  Already existing styles like `fa-flip-vertical` is available as `fa-flip-v`
165
- as well. See all styles that can be used with teh MDI link:{previewer-mdi}[Preview Page, window="_blank"].
165
+ as well. See all styles that can be used with the MDI
166
+ link:{previewer-mdi}[Preview Page, window="_blank"].
166
167
 
167
- You can checkout what icons available at link:{fontawesome-icons}[FontAweSome Icons,
168
- window="_blank"]. _FontAwesome_ V5 is fully integrated - no need for additional
168
+ You can checkout what icons available at link:{fontawesome-icons}[Font Awesome Icons,
169
+ window="_blank"]. _Font Awesome_ V5 is fully integrated - no need for additional
169
170
  resources to load. But in compare to Version 4 a lot of differences needs to be
170
171
  noticed.
171
172
 
@@ -48,8 +48,6 @@ include::{includedir}/attributes.asciidoc[tag=data]
48
48
  // MAIN
49
49
  // =============================================================================
50
50
 
51
- // Page content
52
- // ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
53
51
 
54
52
  J1 Template implements some incubating Ruby-based extensions for Asciidoctor.
55
53
  Most extensions are based on the examples given with the
@@ -66,19 +64,25 @@ additional useful extensions to the Markup language *Asciidoc* are made
66
64
  especially for documents of the Jekyll content type *pages* (but can be used
67
65
  for post or collections as well).
68
66
 
69
- == View Result Extension
67
+ == Asciidoc Extensions
68
+
69
+ lorem:sentences[3]
70
+
71
+ lorem:sentences[2]
72
+
73
+ === Asciidoc Code
70
74
 
71
75
  J1 Template adds a simple *Javascript* based on the `View Result Extension` to
72
76
  any `listingblock`. The extension adds an interactive *toggle button* `VIEW`
73
- to the output of a *listingblock box* placed to the top right of the example
74
- box. If a result block `[.result]` is placed under a `listingblock`, clicking
75
- the toggle button `VIEW` displays (or hide) the content given by the
77
+ to the output of an Asciidoc *listingblock box* placed to the top right of
78
+ the example box. If a result block `[.result]` is placed under a `listingblock`,
79
+ clicking the toggle button `VIEW` displays (or hide) the content given by the
76
80
  `result block`.
77
81
 
78
82
  The `View Result Extension` is quite useful for example sections discussing
79
- (Asciidoc code) and how the resulting (HTML) code would look alike.
83
+ Asciidoc code and how the resulting (HTML) code would look alike.
80
84
 
81
- [source, adoc, numbered]
85
+ [source, adoc]
82
86
  ----
83
87
  .This will have a button `VIEW` placed to the right top of the example box
84
88
  ----
@@ -108,33 +112,42 @@ for *5 seconds*. If the button `VIEW` is clicked, the result box toggles
108
112
  between open and close (the result gets hidden). That way, you can *open and
109
113
  close* the result box *at any time*.
110
114
 
111
- == Admonition Blocks
115
+ === Asciidoc Admonitions
112
116
 
113
- Colors for Admonition Blocks set to stand MD color set.
117
+ All colors for all *default* admonition blocks set to the standard MD color
118
+ set. Find available block types an their colors below.
114
119
 
120
+ .NOTE block
115
121
  NOTE: Icon background-color: indigo
116
122
 
123
+ .TIP block
117
124
  TIP: Icon background-color: green
118
125
 
126
+ .IMPORTANT block
119
127
  IMPORTANT: Icon background-color: orange
120
128
 
129
+ .WARNING block
121
130
  WARNING: Icon background-color: yellow
122
131
 
132
+ .CAUTION block
123
133
  CAUTION: Icon background-color: red
124
134
 
135
+ lorem:sentences[3]
125
136
 
126
- == Additional Admonition Blocks
137
+ === Q&A Blocks
127
138
 
128
- Q&A sections are used quite often to answer popular questions. To make such a
129
- Q&A section more eye-minded, the additional Admonition Blocks `[QUESTION]`
130
- and `[ANSWER]` are available for J1 Template as Asciidoctor extentions.
139
+ *Q&A sections* are used quite often to answer popular questions. To make
140
+ such a Q&A section more eye-minded, the additional Admonition Blocks
141
+ `[QUESTION]` and `[ANSWER]` are available for J1 Template as Asciidoctor
142
+ extentions.
131
143
 
132
- === Question block
144
+ ==== Question block
133
145
 
134
- The Admonition *Question block* is an extention to the Asciidoc admonition
135
- block types that introduce an admonition type of *question*.
146
+ The admonition *Question block* is an extention to the Asciidoc admonition
147
+ block types that introduce an admonition of type *question*.
136
148
 
137
149
  .Example of a question block
150
+ [source, adoc, role="noclip"]
138
151
  ----
139
152
  [QUESTION]
140
153
  What's the main tool for selecting colors?
@@ -142,17 +155,21 @@ What's the main tool for selecting colors?
142
155
 
143
156
  [.result]
144
157
  ====
158
+ .QUESTION
145
159
  [QUESTION]
146
160
  What's the main tool for selecting colors used for J1 Template?
147
161
  ====
148
162
 
149
- === Answer block
163
+ lorem:sentences[3]
164
+
165
+ ==== Answer block
150
166
 
151
167
  The Admonition *Answer block* is an extention to the Asciidoc admonition
152
168
  block types that introduce an admonition type of *answer* in conjunction
153
- to the admonition type of *question*.
169
+ to the admonition of type *question*.
154
170
 
155
171
  .Example of a answer block
172
+ [source, adoc, role="noclip"]
156
173
  ----
157
174
  [ANSWER]
158
175
  For J1 Template, go for for the Core documentation section. You'll
@@ -161,12 +178,15 @@ find the full color scheme for Material Design.
161
178
 
162
179
  [.result]
163
180
  ====
181
+ .ANSWER
164
182
  [ANSWER]
165
183
  For J1 Template, go for the {jekyll-one-core-doc-color-scheme}[Core documentation, window="blank"] section.
166
184
  You'll find the full color scheme for *Material Design*.
167
185
  ====
168
186
 
169
- == Lightbox Block
187
+ lorem:sentences[3]
188
+
189
+ == Lightboxes
170
190
 
171
191
  To make the use of the built-in Lightbox easier, J1 Template offers an Asciidoc
172
192
  extension: the LightBox block macro. The `lightbox::` block macro embeds one or
@@ -174,29 +194,31 @@ more images into the output document and puts *automatically* the default
174
194
  Lightbox (lightbox) for J1 on. For all images, the `size` (width) and individual
175
195
  `caption text` can be configured.
176
196
 
177
- //[source, adoc, role="noclip"]
197
+ .Lightbox Block
198
+ [source, adoc, role="noclip"]
178
199
  ----
179
200
  .block_title
180
- lightbox::block_id[ images_width, images_data, group ]
201
+ lightbox::block_id[ images_width, images_data [, group_name] ]
181
202
  ----
182
203
 
183
204
  NOTE: For a `lightbox::` block, images are placed in the output document
184
205
  *without* any other scaling than in *width* - they are placed using simple
185
- HTML `img` tags. This is fine for images *even in size*. For images in different
186
- sizes, a *gallery* should be used as gallery (apps) rearrange images to make
187
- them fit at its best for the available space.
206
+ HTML `img` tags. This is fine for images *even in size*. For images in
207
+ different sizes, a *gallery* should be used as gallery (apps) rearrange
208
+ images to make them fit at its best for the available space.
188
209
 
189
- === Standalone images
210
+ === Standalone Images
190
211
 
191
212
  For your convenience, and better readability, the *image data* should be
192
213
  defined as Asciidoc *attributes*. The *image data* is given as a *string*
193
214
  of *data pairs*:
194
215
 
216
+ .Paired attributes
195
217
  ----
196
218
  "path/to/image-1, image-caption-1, ..."
197
219
  ----
198
220
 
199
- .Example of an *data attribute* for a lightbox block
221
+ .Example of an data *attribute* for a lightbox block
200
222
  ----
201
223
  :data-images: "pages/image-1.jpg, Description 1, "pages/image-2.jpg, Description 2"
202
224
  ----
@@ -216,125 +238,149 @@ The parameter `group` for the `lightbox::` block is an *option*. If *no*
216
238
  `group` parameter is given for a block, the related images are treated as
217
239
  *standalone*.
218
240
 
219
- [source, adoc]
241
+ .Lightbox block for standalone images
242
+ [source, adoc, role="noclip"]
220
243
  ----
221
- .A Lightbox block for standalone images
222
- lightbox::images-standalone[ 250, {data-images-standalone} ]
244
+ lightbox::images-standalone[ 400, {data-images-standalone} ]
223
245
  ----
224
246
 
225
- .A Lightbox block for standalone images
226
- lightbox::images-standalone[ 250, {data-images-standalone} ]
247
+ .Lightbox block for standalone images
248
+ lightbox::images-standalone[ 400, {data-images-standalone} ]
227
249
 
250
+ lorem:sentences[5]
228
251
 
229
- === Grouped images
252
+ === Grouped Images
230
253
 
231
254
  If more than a single image is given for a `lightbox::` block, the images can be
232
255
  grouped together to enable a simple sliding functionality through this group
233
256
  of *related* images. To *enable* grouping, the option `group` needs to be
234
257
  configured for the block.
235
258
 
236
- //[source, adoc]
259
+ .Lightbox block for grouped images
260
+ [source, adoc, role="noclip"]
237
261
  ----
238
- .A Lightbox block for grouped images
239
- lightbox::images-group[ 250, {data-images-group}, group ]
262
+ lightbox::images-group[ 400, {data-images-group}, group_name ]
240
263
  ----
241
264
 
242
- .A Lightbox block for grouped images
243
- lightbox::images-group[ 250, {data-images-group}, group ]
265
+ .Lightbox block for grouped images
266
+ lightbox::images-group[ 400, {data-images-group}, group_name ]
244
267
 
268
+ lorem:sentences[5]
245
269
 
246
- == Emoji Inline Macro
247
270
 
248
- J1 Template comes with *Twitter Emoji* V1 support for Asciidoc documents
249
- included. Twitter Emoji's can be used as *inline* icons by using the `emoji:`
250
- inline macro like this:
271
+ == Icon Fonts
272
+
273
+ lorem:sentences[5]
274
+
275
+ === Material Designs Icons
251
276
 
277
+ J1 Template comes with *MDI* icon support for Asciidoc documents
278
+ included. *Material Designs Icons* can be used as *inline* icons by using
279
+ the `mdi:` inline macro like so:
280
+
281
+ [source, adoc, role="noclip"]
252
282
  ----
253
- Your text emoji:icon_name[icon_size] <1> <2>
283
+ Your text mdi:icon_name[icon_size, modifier] <1> <2> <3>
254
284
  ----
255
- <1> All `icon_name` can be found on the Preview page for *Twitter Emoji's*
256
- <2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `5x`
285
+ <1> All `icon_name` can be found on the Preview page for *MDI Icon Previewer*
286
+ <2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `10x`
287
+ <3> The `modifier` can be used to set the e.g the color (md_blue), an
288
+ animation (fa-pulsed) or the orientation (fa-rotate-45)
257
289
 
258
- .Click on `view result` to see what Twitter Emoji support can do for your documents.
290
+ .Click on _view result_ to see how it's looks alike
259
291
  ----
260
- Faster than a emoji:turtle[3x]!
261
-
262
- This is an example of how you can emoji:heart[2x, pulsed] Asciidoctor
263
- and Twitter Emoji emoji:smile[].
292
+ Macro mdi: mdi:account[2x, md-blue mdi-pulsed ml-3]
293
+ Macro mdi: mdi:font-awesome[2x, md-indigo ml-3]
294
+ Macro mdi: mdi:font-awesome[3x, md-indigo ml-3]
264
295
  ----
265
296
 
266
297
  [.result]
267
298
  ====
268
- Faster than a emoji:turtle[3x]!
299
+ Macro mdi: mdi:account[2x, md-blue mdi-pulsed ml-3]
269
300
 
270
- This is an example of how you can emoji:heart[2x, pulsed] Asciidoctor
271
- and Twitter Emoji emoji:smile[].
301
+ Macro mdi: mdi:font-awesome[2x, md-indigo ml-3]
302
+
303
+ Macro mdi: mdi:font-awesome[3x, md-indigo ml-3]
272
304
  ====
273
305
 
274
- Find all Twitter Emoji's build-in with J1 Template on page
275
- link:{previewer-emoji}[Emoji Icon Previewer, window="_blank"].
306
+ Find all MDI Icons on page
307
+ link:{previewer-mdi}[MDI Icon Previewer, window="_blank"].
276
308
 
309
+ NOTE: Parameters `icon_size` and `modifier` are optional. If *not* given,
310
+ the icons `size` is set to default (`1x`), the color to `black` and *no*
311
+ settings for the `modifier` are applied.
277
312
 
278
- == MDI Icon Inline Macro
313
+ === Font Awesome Icons
279
314
 
280
- J1 Template comes with *MDI* icon support for Asciidoc documents
281
- included. *Material Designs Icons* can be used as *inline* icons by using
282
- the `mdi:` inline macro like so:
315
+ J1 Template comes with *FA* icon support for Asciidoc documents
316
+ included. *Font Awesome Icons* can be used as *inline* icons by using
317
+ the `fas:` (solid icons) or `fab` (brand icons) inline macro like so:
283
318
 
319
+ [source, adoc, role="noclip"]
284
320
  ----
285
- Your text mdi:icon_name[icon_size, icon_modifier] <1> <2> <3>
321
+ Your text fas:icon_name[icon_size, modifier] <1> <2> <3>
286
322
  ----
287
- <1> All `icon_name` can be found on the Preview page for *MDI Icon Previewer*
323
+ <1> All `icon_name` can be found on the Preview page for *FA Icon Previewer*
288
324
  <2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `10x`
289
- <3> The icon_modifier can be used to set the e.g the color (md_blue), an
325
+ <3> The `modifier` can be used to set the e.g the color (md_blue), an
290
326
  animation (fa-pulsed) or the orientation (fa-rotate-45)
291
327
 
292
- .Click on `view result` to see what MDI Icon support can do for your documents
328
+ .Click on _view result_ to see how it's looks alike
293
329
  ----
294
- Macro mdi: mdi:account[2x, md-blue fa-pulsed]
295
- Macro mdi: mdi:font-awesome[3x, md-indigo]
330
+ Solid icon: fas:account[2x, md-blue fa-pulsed ml-3]
331
+
332
+ Brand icon: fab:font-awesome[2x, md-indigo ml-3]
333
+
334
+ Brand icon: fab:font-awesome[3x, md-indigo ml-3]
296
335
  ----
297
336
 
298
337
  [.result]
299
338
  ====
300
- Macro mdi: mdi:account[2x, md-blue fa-pulsed]
339
+ Solid icon: fas:user[2x, md-blue fa-pulsed ml-3]
301
340
 
302
- Macro mdi: mdi:font-awesome[3x, md-indigo]
303
- ====
341
+ Brand icon: fab:font-awesome[2x, md-indigo ml-3]
304
342
 
305
- Find all MDI Icons on page
306
- link:{previewer-mdi}[MDI Icon Previewer, window="_blank"].
343
+ Brand icon: fab:font-awesome[3x, md-indigo ml-3]
344
+ ====
307
345
 
346
+ NOTE: Parameters `icon_size` and `modifier` are optional. If *not* given,
347
+ the icons `size` is set to default (`1x`), the color to `black` and *no*
348
+ settings for the `modifier` are applied.
308
349
 
309
- == FA Icon Inline Macro
350
+ === Twitter Emoji Icons
310
351
 
311
- J1 Template comes with *FA* icon support for Asciidoc documents
312
- included. *FontAweSome Icons* can be used as *inline* icons by using
313
- the `fas:` or `fab` inline macro like so:
352
+ J1 Template comes with *Twitter Emoji* V1 support for Asciidoc documents
353
+ included. Twitter Emoji's can be used as *inline* icons by using the `emoji:`
354
+ inline macro like this:
314
355
 
356
+ [source, adoc]
315
357
  ----
316
- Your text fas:icon_name[icon_size, icon_modifier] <1> <2> <3>
358
+ Your text emoji:icon_name[icon_size] <1> <2>
317
359
  ----
318
- <1> All `icon_name` can be found on the Preview page for *FA Icon Previewer*
319
- <2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `10x`
320
- <3> The icon_modifier can be used to set the e.g the color (md_blue), an
321
- animation (fa-pulsed) or the orientation (fa-rotate-45)
360
+ <1> All `icon_name` can be found on the Preview page for *Twitter Emoji's*
361
+ <2> The `icon_size` attribute can be one of: `xs`, `sm`, `lg` and `1x` to `5x`
322
362
 
323
- .Click on `view result` to see what MDI Icon support can do for your documents
363
+ .Click on _view result_ to see how it's look alike
324
364
  ----
325
- Macro fas: fas:igloo[2x, md-blue fa-pulsed]
326
- Macro fab: fab:font-awesome[2x, md-indigo fa-rotate-45]
365
+ Faster than a emoji:turtle[3x]!
366
+
367
+ This is an example of how you can emoji:heart[2x, pulsed] Asciidoctor
368
+ and Twitter Emoji emoji:smile[].
327
369
  ----
328
370
 
329
371
  [.result]
330
372
  ====
331
- Macro fas: fas:igloo[2x, md-blue fa-pulsed]
373
+ Faster than a emoji:turtle[3x]!
332
374
 
333
- Macro fab: fab:font-awesome[2x, md-indigo fa-rotate-45]
375
+ This is an example of how you can emoji:heart[2x, pulsed] Asciidoctor
376
+ and Twitter Emoji emoji:smile[].
334
377
  ====
335
378
 
379
+ Find all Twitter Emoji's build-in with J1 Template on page
380
+ link:{previewer-emoji}[Emoji Icon Previewer, window="_blank"].
381
+
336
382
 
337
- == Lorem Inline Macro
383
+ == Blind Text (Lorem)
338
384
 
339
385
  The Ruby *gem* Middleman, a Ruby-gem based static site generator, provides a
340
386
  set of powerful helpers for generating *random text* content. The *Lorem*
@@ -365,11 +411,12 @@ lorem:sentences[5]
365
411
  lorem:sentences[5]
366
412
  ====
367
413
 
368
- === Available Lorem Macros
414
+ === Lorem Types
369
415
 
370
416
  All *macro* types available for `lorem:` to be used for blind *text* can be
371
417
  found with the following table below.
372
418
 
419
+ //.Tabelle
373
420
  [cols="5,2,5a", options="header", role="table-responsive mb-2"]
374
421
  |===============================================================================
375
422
  |Macro | Type |Example