Skip to content

Commit 4a99a1a

Browse files
author
Jan-Olof Hendig
committed
Attempt to fix #923 by exchanging a few =head3 directives with B<>
1 parent 5252066 commit 4a99a1a

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/Type/Str.pod6

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ Between the C<%> and the format letter, you may specify several
404404
additional attributes controlling the interpretation of the format. In
405405
order, these are:
406406
407-
=head3 format parameter index
407+
B<format parameter index>
408408
409409
An explicit format parameter index, such as C<2$>. By default,
410410
C<sprintf> will format the next unused argument in the list, but this
@@ -413,7 +413,7 @@ allows you to take the arguments out of order:
413413
sprintf '%2$d %1$d', 12, 34; # "34 12"
414414
sprintf '%3$d %d %1$d', 1, 2, 3; # "3 1 1"
415415
416-
=head3 flags
416+
B<flags>
417417
418418
One or more of:
419419
@@ -455,7 +455,7 @@ precision is incremented if it's necessary for the leading "0":
455455
sprintf '<%#.5o>', 012345; # "<012345>"
456456
sprintf '<%#.0o>', 0; # "<>" # zero precision results in no output!
457457
458-
=head3 vector flag
458+
B<vector flag>
459459
460460
This flag tells Perl 6 to interpret the supplied string as a vector of
461461
integers, one for each character in the string. Perl 6 applies the
@@ -472,7 +472,7 @@ join string using something like C<*2$v>; for example:
472472
NYI sprintf '%*4$vX %*4$vX %*4$vX', # 3 IPv6 addresses
473473
@addr[1..3], ":";
474474
475-
=head3 (minimum) width
475+
B<(minimum) width>
476476
477477
Arguments are usually formatted to be only as wide as required to
478478
display the given value. You can override the width by putting a
@@ -488,7 +488,7 @@ from a specified argument (e.g., with C<*2$>):
488488
If a field width obtained through C<*> is negative, it has the same
489489
effect as the C<-> flag: left-justification.
490490
491-
=head3 precision, or maximum width
491+
B<precision, or maximum width>
492492
493493
You can specify a precision (for numeric conversions) or a maximum
494494
width (for string conversions) by specifying a C<.> followed by a
@@ -561,7 +561,7 @@ no precision at all:
561561
sprintf '<%.*d>', 0, 0; # "<>"
562562
sprintf '<%.*d>', -1, 0; # "<0>"
563563
564-
=head3 size
564+
B<size>
565565
566566
For numeric conversions, you can specify the size to interpret the
567567
number as using C<l>, C<h>, C<V>, C<q>, C<L>, or C<ll>. For integer
@@ -587,7 +587,7 @@ used to build Perl 6:
587587
t interpret integer as C type "ptrdiff_t"
588588
z interpret integer as C type "size_t"
589589
590-
=head3 order of arguments
590+
B<order of arguments>
591591
592592
Normally, C<sprintf> takes the next unused argument as the value to
593593
format for each format specification. If the format specification uses

0 commit comments

Comments
 (0)