diff --git a/content/blog/email-formatting.md b/content/blog/email-formatting.md index e3f7dff..e712cc7 100644 --- a/content/blog/email-formatting.md +++ b/content/blog/email-formatting.md @@ -183,7 +183,7 @@ Daniel ``` A Markdown formatter considers this to be one paragraph, and reflows it -accordingly, causing it to lost semantic meaning: +accordingly, causing it to lose semantic meaning: ``` Best wishes, Daniel @@ -222,14 +222,21 @@ Daniel > that trim trailing whitespace.** `mailfmt` detects sign-offs using a very simple heuristic. First, we check if a -line has _5 or less_ words, and **ends with a comma**. If we find such a line, -we check the _next_ line. If it has 5 or less words **that all begin with an +line has _5 or fewer_ words and **ends with a comma**. If we find such a line, +we check the _next_ line. If it has 5 or fewer words **that all begin with an uppercase letter**, then we assume these two lines are a _sign-off_, and we -don't reflow or wrap them. The heuristic matches a very simple pattern: +don't reflow or wrap them. The heuristic supports a very simple pattern: ``` A courteous salutation, -First Middle Last Name +Prefix. First Middle Last, Suffix +``` + +For instance: + +``` +Sincerely, +Rev. John Apple Smith, PHD. ``` ### Signature blocks