From 86d39e45eabb8b9f50dcd9877a284c4f3c7febdc Mon Sep 17 00:00:00 2001 From: Jidong Xiao Date: Wed, 30 Aug 2023 12:33:15 -0400 Subject: [PATCH] adding the dashed lines --- hws/01_text_justification/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/hws/01_text_justification/README.md b/hws/01_text_justification/README.md index 7c2f2e4..bd52f33 100644 --- a/hws/01_text_justification/README.md +++ b/hws/01_text_justification/README.md @@ -24,6 +24,15 @@ Let’s look at a simple example. Here is a sample input file, named example.txt And here’s the output produced for that input file for the three different justification modes, for the specified text width of 16: +flush left +```txt +-------------------- +| Here is an | +| example of text | +| justification. | +-------------------- +``` + First note that the output includes a simple ascii art line box drawn around the text, but those characters do not count towards the specified line width of the text. In other words, each line of final output is actually 4 characters longer, in this example, 20 total characters. Notice that the same words appear on each line