cleaned up comments
This commit is contained in:
parent
877081a33d
commit
c46521ae81
1 changed files with 1 additions and 8 deletions
9
mailfmt
9
mailfmt
|
@ -1,17 +1,10 @@
|
||||||
#!/bin/env python
|
#!/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.
|
# Simple text-wrapping script for email.
|
||||||
# Preserves code blocks, quotes, and signature.
|
# Preserves code blocks, quotes, and signature.
|
||||||
# Automatically joins and re-wraps paragraphs to
|
# Automatically joins and re-wraps paragraphs to
|
||||||
# ensure even spacing & avoid ugly wrapping.
|
# ensure even spacing & avoid ugly wrapping.
|
||||||
# Preserves signoffs, eg: Yours truly,\nJohn Doe
|
# Preserves signoffs.
|
||||||
# Signoff heuristic:
|
# Signoff heuristic:
|
||||||
# 1-5 words ending with a comma, followed by
|
# 1-5 words ending with a comma, followed by
|
||||||
# 1-5 words that each start with capital letters.
|
# 1-5 words that each start with capital letters.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue