mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-24 22:55:31 +02:00
boxes: add page (#9961)
* boxes: add page --------- Co-authored-by: K.B.Dharun Krishna <kbdharunkrishna@gmail.com>
This commit is contained in:
parent
534dc1ab21
commit
0ef8262616
1 changed files with 24 additions and 0 deletions
24
pages/common/boxes.md
Normal file
24
pages/common/boxes.md
Normal file
|
@ -0,0 +1,24 @@
|
|||
# boxes
|
||||
|
||||
> Draw, remove, and repair ASCII art boxes.
|
||||
> More information: <https://boxes.thomasjensen.com>.
|
||||
|
||||
- Draw a box around a string:
|
||||
|
||||
`echo "{{string}}" | boxes`
|
||||
|
||||
- Remove a box from a string:
|
||||
|
||||
`echo "{{string}}" | boxes -r`
|
||||
|
||||
- Draw a box with a specific design around a string:
|
||||
|
||||
`echo "{{string}}" | boxes -d {{parchment}}`
|
||||
|
||||
- Draw a box with a width of 10 and a height of 5:
|
||||
|
||||
`echo "{{string}}" | boxes -s {{10}}x{{5}}`
|
||||
|
||||
- Draw a box with centered text:
|
||||
|
||||
`echo "{{string}}" | boxes -a c`
|
Loading…
Add table
Reference in a new issue