asciidoctor-doctest 2.0.0.beta.1 → 2.0.0.beta.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/data/examples/asciidoc/block_admonition.adoc +83 -16
- data/data/examples/asciidoc/block_olist.adoc +6 -0
- data/data/examples/asciidoc/block_table.adoc +6 -0
- data/data/examples/asciidoc/inline_anchor.adoc +42 -13
- data/data/examples/asciidoc/section.adoc +5 -0
- data/lib/asciidoctor/doctest/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6d85bdcda3e26954a6f4e42e9825d3a5e033db0c
|
4
|
+
data.tar.gz: 3a10413538b9524867318215b715205c096d99ab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f3c70197f8139884fba053dfc57c69d2d30f318b06b4df04e246af603592df20e579156108671902341ff69f93b46882fc514c984e97c9137c29cc0b42a1a9ab
|
7
|
+
data.tar.gz: 8080e196a4b71d0aa87711368abaee6d7d2a2191d068d8dfc9567d71310146c2fcd92cf9649c34e981e41b29579b2dbd51f82fba8a9932c2f9ba860ce954e4e2
|
@@ -1,27 +1,94 @@
|
|
1
|
-
// .
|
2
|
-
|
1
|
+
// .note
|
2
|
+
NOTE: This is a note.
|
3
3
|
|
4
|
-
// .
|
5
|
-
|
6
|
-
|
7
|
-
Its purpose is determined by the label
|
8
|
-
at the beginning of the paragraph.
|
4
|
+
// .note_with_title
|
5
|
+
.Title of note
|
6
|
+
NOTE: This is a note with title.
|
9
7
|
|
10
|
-
// .
|
11
|
-
[
|
8
|
+
// .note_with_id_and_role
|
9
|
+
[#note-1.yellow]
|
10
|
+
NOTE: This is a note with id and role.
|
11
|
+
|
12
|
+
// .note_block
|
13
|
+
[NOTE]
|
12
14
|
====
|
13
|
-
|
15
|
+
This is a note with complex content.
|
16
|
+
|
17
|
+
* It contains a list.
|
14
18
|
====
|
15
19
|
|
16
|
-
// .
|
20
|
+
// .tip
|
21
|
+
TIP: This is a tip.
|
22
|
+
|
23
|
+
// .tip_with_title
|
24
|
+
.Title of tip
|
25
|
+
TIP: This is a tip with title.
|
26
|
+
|
27
|
+
// .tip_with_id_and_role
|
28
|
+
[#tip-1.blue]
|
29
|
+
TIP: This is a tip with id and role.
|
30
|
+
|
31
|
+
// .tip_block
|
32
|
+
[TIP]
|
33
|
+
====
|
34
|
+
This is a tip with complex content.
|
35
|
+
|
36
|
+
* It contains a list.
|
37
|
+
====
|
38
|
+
|
39
|
+
// .important
|
40
|
+
IMPORTANT: This is an important notice.
|
41
|
+
|
42
|
+
// .important_with_title
|
43
|
+
.Title of important notice
|
44
|
+
IMPORTANT: This is an important notice with title.
|
45
|
+
|
46
|
+
// .important_with_id_and_role
|
47
|
+
[#important-1.red]
|
48
|
+
IMPORTANT: This is an important notice with id and role.
|
49
|
+
|
50
|
+
// .important_block
|
17
51
|
[IMPORTANT]
|
18
|
-
.Feeding the Werewolves
|
19
52
|
====
|
20
|
-
|
53
|
+
This is an important notice with complex content.
|
54
|
+
|
55
|
+
* It contains a list.
|
56
|
+
====
|
57
|
+
|
58
|
+
// .caution
|
59
|
+
CAUTION: This is a caution.
|
60
|
+
|
61
|
+
// .caution_with_title
|
62
|
+
.Title of caution
|
63
|
+
CAUTION: This is a caution with title.
|
64
|
+
|
65
|
+
// .caution_with_id_and_role
|
66
|
+
[#caution-1.red]
|
67
|
+
CAUTION: This is a caution with id and role.
|
68
|
+
|
69
|
+
// .caution_block
|
70
|
+
[CAUTION]
|
21
71
|
====
|
72
|
+
This is a caution with complex content.
|
22
73
|
|
23
|
-
|
24
|
-
[IMPORTANT, id=werewolve, role=member]
|
74
|
+
* It contains a list.
|
25
75
|
====
|
26
|
-
|
76
|
+
|
77
|
+
// .warning
|
78
|
+
WARNING: This is a warning.
|
79
|
+
|
80
|
+
// .warning_with_title
|
81
|
+
.Title of warning
|
82
|
+
WARNING: This is a warning with title.
|
83
|
+
|
84
|
+
// .warning_with_id_and_role
|
85
|
+
[#warning-1.red]
|
86
|
+
WARNING: This is a warning with id and role.
|
87
|
+
|
88
|
+
// .warning_block
|
89
|
+
[WARNING]
|
90
|
+
====
|
91
|
+
This is a warning with complex content.
|
92
|
+
|
93
|
+
* It contains a list.
|
27
94
|
====
|
@@ -1,19 +1,12 @@
|
|
1
|
-
// .
|
2
|
-
|
3
|
-
|
4
|
-
// .basic_with_text
|
5
|
-
irc://irc.freenode.org/#asciidoctor[Asciidoctor IRC channel]
|
6
|
-
|
7
|
-
// .basic_with_target_blank
|
8
|
-
link:view-source:asciidoctor.org[Asciidoctor homepage^]
|
9
|
-
|
10
|
-
// .basic_with_role
|
11
|
-
:linkattrs:
|
12
|
-
http://discuss.asciidoctor.org/[*mailing list*, role="green"]
|
1
|
+
// .ref
|
2
|
+
[[bookmark-a]] Inline anchors make arbitrary content referenceable.
|
13
3
|
|
14
4
|
// .xref
|
15
5
|
The section <<page-break>> describes how to add a page break.
|
16
6
|
|
7
|
+
// .xref_interdoc
|
8
|
+
The section <<manual.adoc#page-break>> describes how to add a page break.
|
9
|
+
|
17
10
|
// .xref_with_text
|
18
11
|
The section <<page-break, Page break>> describes how to add a page break.
|
19
12
|
|
@@ -22,6 +15,42 @@ Refer to <<Section A>>.
|
|
22
15
|
|
23
16
|
== Section A
|
24
17
|
|
18
|
+
// .xref_reftext
|
19
|
+
Refer to <<install>>.
|
20
|
+
|
21
|
+
[#install, reftext="Installation Procedure"]
|
22
|
+
== Installation
|
23
|
+
|
24
|
+
// .xref_xrefstyle
|
25
|
+
// Supported since Asciidoctor 1.5.6.
|
26
|
+
:sectnums:
|
27
|
+
:section-refsig: Sec.
|
28
|
+
:xrefstyle: short
|
29
|
+
Refer to <<install>>.
|
30
|
+
|
31
|
+
[[install]]
|
32
|
+
== Installation
|
33
|
+
|
25
34
|
// .bibref
|
26
35
|
// This is an item (anchor) in the bibliography, not a link to it.
|
27
|
-
[
|
36
|
+
[bibliography]
|
37
|
+
* [[[prag]]] Andy Hunt & Dave Thomas. The Pragmatic Programmer
|
38
|
+
|
39
|
+
// .bibref_with_text
|
40
|
+
// Supported since Asciidoctor 1.5.6.
|
41
|
+
// This is an item (anchor) in the bibliography, not a link to it.
|
42
|
+
[bibliography]
|
43
|
+
* [[[prag, 1]]] Andy Hunt & Dave Thomas. The Pragmatic Programmer
|
44
|
+
|
45
|
+
// .link
|
46
|
+
http://www.asciidoctor.org
|
47
|
+
|
48
|
+
// .link_with_text
|
49
|
+
irc://irc.freenode.org/#asciidoctor[Asciidoctor IRC channel]
|
50
|
+
|
51
|
+
// .link_with_target_blank
|
52
|
+
link:view-source:asciidoctor.org[Asciidoctor homepage^]
|
53
|
+
|
54
|
+
// .link_with_role
|
55
|
+
:linkattrs:
|
56
|
+
http://discuss.asciidoctor.org/[*mailing list*, role="green"]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: asciidoctor-doctest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.0.beta.
|
4
|
+
version: 2.0.0.beta.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jakub Jirutka
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-08-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: asciidoctor
|