From 0ef826261658431177e889b9270465d2c5bb38c7 Mon Sep 17 00:00:00 2001 From: Ethan Leitch <40130389+EthanLeitch@users.noreply.github.com> Date: Wed, 17 May 2023 05:15:01 +1200 Subject: [PATCH] boxes: add page (#9961) * boxes: add page --------- Co-authored-by: K.B.Dharun Krishna --- pages/common/boxes.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 pages/common/boxes.md diff --git a/pages/common/boxes.md b/pages/common/boxes.md new file mode 100644 index 000000000..acf38878c --- /dev/null +++ b/pages/common/boxes.md @@ -0,0 +1,24 @@ +# boxes + +> Draw, remove, and repair ASCII art boxes. +> More information: . + +- 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`