Skip to content

Commit 1c831e6

Browse files
feat: ✨ Add example for horizontal centering in Write-Color
* Introduced a new example demonstrating the use of `-HorizontalCenter` parameter. * Ensured consistency in example formatting by adding a newline at the end of the file.
1 parent 94f0d93 commit 1c831e6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Examples/Write-Color-Examples.ps1

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,7 @@ Write-Color -T "My text", " is ", "all colorful" -C Yellow, Red, Green -B Red, G
4646

4747
# Example 5
4848
Write-Color -T "My text", " is ", "all colorful" -C Yellow, Red, Green -B Green, Green, Yellow
49-
Write-Color -T "My text", " is ", "all colorful" -C Yellow, Red, Green -B Red, Green, Green -StartSpaces 2
49+
Write-Color -T "My text", " is ", "all colorful" -C Yellow, Red, Green -B Red, Green, Green -StartSpaces 2
50+
51+
# Example 6
52+
Write-Color -T "My text", " is ", "all colorful" -C Yellow, Red, Green -HorizontalCenter

0 commit comments

Comments
 (0)