jekyll-theme-endless 0.22.2 → 0.22.3
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/lib/jekyll-theme-endless/version.rb +1 -1
- data/pages_examples/showroom-asciidoc.adoc +8 -23
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 75dcbde719d9ba40a9d7688d03ae6afdc9326b9ea1a5f9e5124ade271b6084eb
|
|
4
|
+
data.tar.gz: 5f27792c24f116317b2c14cb0814997a0f2e2b75dcc29493bafa0990e65583f1
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2094bbdc1847fb1cc4afafdd37c78f39f87fa8f069f372ecaf4ba37e249c99f2463ad23b001346aa8866ec897367289db8d31916b43ad8719af47c1a0fdc4e99
|
|
7
|
+
data.tar.gz: b4d0e4c028e08fd4c1a4acf3f55c3c8b0af8a66d538841395959778be93b61703790144272d7723724f68a671abbfb8128ab11070e545f0ff81feba2493c56a3
|
|
@@ -11,9 +11,7 @@
|
|
|
11
11
|
:page-summary: "Discover the AsciiDoc showroom: See what's possible with AsciiDoc in this theme, including code, tables, lists, quotes, and more for advanced formatting."
|
|
12
12
|
// The Liquid page variable ensures that the Liquid preprocessor is also applied to AsciiDoc files.
|
|
13
13
|
// https://github.com/asciidoctor/jekyll-asciidoc?tab=readme-ov-file#enabling-liquid-preprocessing
|
|
14
|
-
|
|
15
|
-
// See the comments in the [[meme]] section for more details.
|
|
16
|
-
:page-liquid:
|
|
14
|
+
//:page-liquid:
|
|
17
15
|
|
|
18
16
|
|
|
19
17
|
|
|
@@ -402,7 +400,11 @@ The result is:
|
|
|
402
400
|
== Images
|
|
403
401
|
|
|
404
402
|
// NOTE:
|
|
405
|
-
// The image originates from the theme’s assets folder
|
|
403
|
+
// The image originates from the theme’s assets folder.
|
|
404
|
+
// It is added to your blog (target folder) during the Jekyll build process.
|
|
405
|
+
// If you want to build this document independently of Jekyll (e.g. by using asciidoctor-pdf),
|
|
406
|
+
// the image must be already available in source-folder.
|
|
407
|
+
// Thus, make sure to download the image to your local assets folder in advance.
|
|
406
408
|
|
|
407
409
|
// AsciiDoc commands are not stripped/processed when used within `alt=""`.
|
|
408
410
|
:pic_1_src: /assets/images/tree-3822149_640.jpg
|
|
@@ -1199,26 +1201,9 @@ qrcode::This QR code is generated with Asciidoctor Diagram and presented in PNG
|
|
|
1199
1201
|
|
|
1200
1202
|
The https://docs.asciidoctor.org/diagram-extension/latest/diagram_types/meme/[meme extension] is based on https://imagemagick.org/[ImageMagick] and is used to create simple memes with text overlaid on images.
|
|
1201
1203
|
|
|
1202
|
-
|
|
1203
|
-
// This image is copied into the build folder (by default `_site`) during the build process.
|
|
1204
|
-
// The meme extension needs to know the location of this image within the build directory.
|
|
1205
|
-
// Since the build path can change, for example through the `-d` parameter, you should not hardcode `_site` here.
|
|
1206
|
-
// The current build directory is stored in the Jekyll variable `site.destination`.
|
|
1207
|
-
// See: https://jekyllrb.com/docs/configuration/options/
|
|
1208
|
-
// This variable can be accessed using Liquid syntax via `{{ site.destination }}`.
|
|
1209
|
-
// However, Liquid commands are not processed in AsciiDoc documents by default.
|
|
1210
|
-
// To enable the Liquid preprocessor for this document, you need to set the `:page-liquid:` attribute in the document header.
|
|
1211
|
-
// See: https://github.com/asciidoctor/jekyll-asciidoc?tab=readme-ov-file#enabling-liquid-preprocessing
|
|
1212
|
-
// During the build process, the Liquid preprocessor runs first, followed by the AsciiDoc processor.
|
|
1213
|
-
//
|
|
1214
|
-
// I assume that this approach will rarely be needed in practice.
|
|
1215
|
-
// Nevertheless, it provides a good insight into how Jekyll builds work and how AsciiDoc files are processed.
|
|
1216
|
-
// So, unless you specifically want to use one of the images packaged with the jekyll-theme-endless theme for your memes,
|
|
1217
|
-
// you can simply remove the `:page-liquid:` attribute and specify a path without using the Liquid variable {{ site.destination }}.
|
|
1218
|
-
|
|
1219
|
-
:pic_2_src: {{ site.destination }}/assets/images/cat.jpg
|
|
1204
|
+
:pic_2_src: ../assets/images/cat.jpg
|
|
1220
1205
|
|
|
1221
|
-
.Example of a meme created with the Meme diagram type, featuring an image of a cat with overlaid text at the top and bottom. The text is styled with a stroke width of 2 and a white fill color to enhance visibility against the background image.
|
|
1206
|
+
.Example of a meme created with the Meme diagram type, featuring an image of a cat with overlaid text at the top and bottom. The text is styled with a stroke width of 2 and a white fill color to enhance visibility against the background image.
|
|
1222
1207
|
meme::{pic_2_src}[Markdown? // Really?, Did you understand // a single word written here?, stroke-width=2, fill-color=white]
|
|
1223
1208
|
|
|
1224
1209
|
|