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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: adc5657c9e7bcd1f4dfda82cdbce7789414b7129
4
- data.tar.gz: 1549da48c04eb0b58148e7e0e37b81483274d366
3
+ metadata.gz: 6d85bdcda3e26954a6f4e42e9825d3a5e033db0c
4
+ data.tar.gz: 3a10413538b9524867318215b715205c096d99ab
5
5
  SHA512:
6
- metadata.gz: 412eb45db40fe2eec88e7a8507be9531a855ecb8efe898bc22f4fed70a12e7d3b4a044110a39fdd5706a9a647b9371e86c301edaa8042b9d3e0d112186f17316
7
- data.tar.gz: a49cc812d65eade759965016fb5a816726af906b18f0367f90adde476c4f373aa0ab10ea4c1f9c00086c9caa51525f342438870fe37ddefffbdee5f6b8ea0170
6
+ metadata.gz: f3c70197f8139884fba053dfc57c69d2d30f318b06b4df04e246af603592df20e579156108671902341ff69f93b46882fc514c984e97c9137c29cc0b42a1a9ab
7
+ data.tar.gz: 8080e196a4b71d0aa87711368abaee6d7d2a2191d068d8dfc9567d71310146c2fcd92cf9649c34e981e41b29579b2dbd51f82fba8a9932c2f9ba860ce954e4e2
@@ -1,27 +1,94 @@
1
- // .basic
2
- WARNING: Watch out for dragons!
1
+ // .note
2
+ NOTE: This is a note.
3
3
 
4
- // .basic_multiline
5
- NOTE: An admonition paragraph draws the reader's attention to
6
- auxiliary information.
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
- // .block
11
- [IMPORTANT]
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
- While werewolves are hardy community members, keep in mind some dietary concerns.
15
+ This is a note with complex content.
16
+
17
+ * It contains a list.
14
18
  ====
15
19
 
16
- // .block_with_title
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
- While werewolves are hardy community members, keep in mind some dietary concerns.
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
- // .block_with_id_and_role
24
- [IMPORTANT, id=werewolve, role=member]
74
+ * It contains a list.
25
75
  ====
26
- While werewolves are hardy community members, keep in mind some dietary concerns.
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
  ====
@@ -9,6 +9,12 @@
9
9
  . Step 2
10
10
  . Step 3
11
11
 
12
+ // .with_reversed
13
+ [%reversed]
14
+ . Step 1
15
+ . Step 2
16
+ . Step 3
17
+
12
18
  // .with_numeration_styles
13
19
  [decimal]
14
20
  . level 1
@@ -34,6 +34,12 @@
34
34
  | Cell in column 1, row 1 | Cell in column 2, row 1
35
35
  |===
36
36
 
37
+ // .with_autowidth_and_width
38
+ [options="autowidth", width=80]
39
+ |===
40
+ | Cell in column 1, row 1 | Cell in column 2, row 1
41
+ |===
42
+
37
43
  // .with_title
38
44
  .Table FTW!
39
45
  |===
@@ -1,19 +1,12 @@
1
- // .basic
2
- http://www.asciidoctor.org
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
- [[[prag]]] Andy Hunt & Dave Thomas. The Pragmatic Programmer
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"]
@@ -42,6 +42,11 @@
42
42
  :sectlinks:
43
43
  == Linked title
44
44
 
45
+ // .sectanchors_and_sectlinks
46
+ :sectanchors:
47
+ :sectlinks:
48
+ == Linked title with anchor
49
+
45
50
  // .numbered
46
51
  :numbered:
47
52
  == Introduction to Asciidoctor
@@ -1,5 +1,5 @@
1
1
  module Asciidoctor
2
2
  module DocTest
3
- VERSION = '2.0.0.beta.1'
3
+ VERSION = '2.0.0.beta.2'
4
4
  end
5
5
  end
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.1
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-07-25 00:00:00.000000000 Z
11
+ date: 2017-08-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: asciidoctor