asciidoctor-lists 1.0.7 → 1.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +4 -1
- data/lib/asciidoctor-lists/extensions.rb +1 -1
- data/lib/asciidoctor-lists/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4e4c385d098f83a5dc7c73e70afe4e09c1a414b5b8e6ceeb1c12aef78f47b372
|
4
|
+
data.tar.gz: 8536f12d37553f0c813719d69871c5073378b0aff7fdb973a26c72bd7fde6682
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5c1d33f380081b1e4a7e28a64c45298df459e7ec8298a72baa9315beb3bb4088deda57bf76d31414b0e0432eade7ed56620417b11a29b35547da9446208a5931
|
7
|
+
data.tar.gz: 327515c647fb79c583011fc2271012a43ae502e5e9bd5919f2c89a647e1024041074ad20973512a74f9b74a602bef8fe2e4a2acff75f9d48880cabf109ae67fe
|
data/README.adoc
CHANGED
@@ -53,7 +53,7 @@ Sample: link:samples/enhanced-rendering.adoc[]
|
|
53
53
|
=== hide_empty_section
|
54
54
|
Removes the section when no elements are found
|
55
55
|
|
56
|
-
Sample: link:samples/hide-if-empty-list-sample.adoc
|
56
|
+
Sample: link:samples/hide-if-empty-list-sample.adoc[]
|
57
57
|
|
58
58
|
== Docker
|
59
59
|
[source,bash]
|
@@ -79,3 +79,6 @@ asciidoctor -r ./lib/asciidoctor-lists.rb samples/list-sample.adoc
|
|
79
79
|
gem build asciidoctor-lists.gemspec
|
80
80
|
gem install asciidoctor-lists-x.x.x.gem
|
81
81
|
----
|
82
|
+
|
83
|
+
== Docker Image
|
84
|
+
- Support in official asciidoctor Docker image is waiting for approval (See https://github.com/asciidoctor/docker-asciidoctor/pull/262)
|
@@ -40,7 +40,7 @@ module AsciidoctorLists
|
|
40
40
|
enhanced_rendering = params[:enhanced_rendering]
|
41
41
|
hide_empty_section = params[:hide_empty_section]
|
42
42
|
|
43
|
-
elements = document.find_by(context: params[:element].to_sym)
|
43
|
+
elements = document.find_by(traverse_documents: true, context: params[:element].to_sym)
|
44
44
|
if elements.length > 0
|
45
45
|
elements.each do |element|
|
46
46
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-lists
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alwin Schuster
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|