diff --git a/mailfmt b/mailfmt index e9e2bbf..a12e4c7 100755 --- a/mailfmt +++ b/mailfmt @@ -1,17 +1,10 @@ #!/bin/env python -# TODO: generate an HTML version from the markdown syntax -# while preserving the signoff and signature block -# How to do this: -# - Go through and do regular formatting, but add line breaks -# - at the end of preserved lines. Then pass to md -> html converter. -# Most simply, there should be an option to output "markdown safe" text. - # Simple text-wrapping script for email. # Preserves code blocks, quotes, and signature. # Automatically joins and re-wraps paragraphs to # ensure even spacing & avoid ugly wrapping. -# Preserves signoffs, eg: Yours truly,\nJohn Doe +# Preserves signoffs. # Signoff heuristic: # 1-5 words ending with a comma, followed by # 1-5 words that each start with capital letters.