asciidoctor-lists 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.adoc +1 -0
- data/lib/asciidoctor-lists/extensions.rb +2 -2
- data/lib/asciidoctor-lists/version.rb +1 -1
- 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: df21d7405e2bd61684ae02680874f92be4f0101a4cf270c27b64213326d43574
|
4
|
+
data.tar.gz: 7bf4131455afd55c97435dcb824556a9e58fd29fba57a4adaf1451409a47e732
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91ad039018f2c9efae5670dd242e92cd091885c4b00403320e588a79dab4ca5bd736becf8adbaf4ade4efb8deb49b5e5fd3add8eed3ad06cc81b54e9e01a4a16
|
7
|
+
data.tar.gz: e2756b56f60d202d7e4cc7e595a8b4e4800228f5015ddf10a6a2a39122581d19214b8c5af5420c0268f14793ee6d9583a9de6bea6c5a65847692e17b5dff39ab
|
data/README.adoc
CHANGED
@@ -2,6 +2,7 @@
|
|
2
2
|
:toc: macro
|
3
3
|
:toclevels: 1
|
4
4
|
|
5
|
+
image:https://github.com/Alwinator/asciidoctor-lists/actions/workflows/publish_gem.yml/badge.svg[Build, link=https://github.com/Alwinator/asciidoctor-lists/actions/workflows/publish_gem.yml]
|
5
6
|
image:https://img.shields.io/gem/v/asciidoctor-lists.svg[Latest Release, link=https://rubygems.org/gems/asciidoctor-lists]
|
6
7
|
|
7
8
|
Adds a list of figures, list of tables (WIP) or list of anything you want!
|
@@ -23,11 +23,11 @@ module AsciidoctorLists
|
|
23
23
|
ListOfFiguresMacroPlaceholder = %(9d9711cf-0e95-4230-9973-78559fe928db)
|
24
24
|
|
25
25
|
# Replaces tof::[] with ListOfFiguresMacroPlaceholder
|
26
|
-
class ListOfFiguresMacro < ::Extensions::BlockMacroProcessor
|
26
|
+
class ListOfFiguresMacro < ::Asciidoctor::Extensions::BlockMacroProcessor
|
27
27
|
use_dsl
|
28
28
|
named :tof
|
29
29
|
|
30
|
-
def process(parent,
|
30
|
+
def process(parent, _target, _attrs)
|
31
31
|
create_paragraph parent, ListOfFiguresMacroPlaceholder, {}
|
32
32
|
end
|
33
33
|
end
|