@@ -40,6 +40,8 @@ Top Level Heading
40
40
= end head1
41
41
= end code
42
42
43
+ = head3 Configuration information
44
+
43
45
After the typename, the rest of the C < =begin > marker line is treated as
44
46
configuration information for the block. This information is used in
45
47
different ways by different types of blocks, but is always specified using
@@ -53,16 +55,17 @@ Perl6-ish option pairs. That is, any of:
53
55
Boolean (true) :key :key(True) :key[True]
54
56
Boolean (false) :!key :key(False) :key[False]
55
57
String :key<str> :key('str') :key("str")
56
- Number :key(42) :key(2.3)
58
+ Int :key(42) :key[42]
59
+ Number :key(2.3) :key[2.3]
57
60
= end table
58
61
59
- Where '$e1,$e2,...' are list elements of type Str , Int, Num , or
60
- Bool . Lists may have mixed element types. Note that one-element
61
- lists are converted to the type of their element (Str , Int, Num , or
62
- Bool ).
62
+ Where '$e1,$e2,...' are list elements of type String , Int, Number , or
63
+ Boolean . Lists may have mixed element types. Note that one-element
64
+ lists are converted to the type of their element (String , Int, Number , or
65
+ Boolean ).
63
66
64
67
For hashes, '$k1,$k2,...' are keys of type Str and '$v1,$2,...'
65
- are values of type Str , Int, Num , or Bool .
68
+ are values of type String , Int, Number , or Boolean .
66
69
67
70
Strings may use any of the single Q/q quote constructs, e.g.,
68
71
:key(Q[str]), which is equivalent to the :key<str> format and
0 commit comments