On 16/05/2024 20:47, to...@tuxteam.de wrote:
Actually I've been tempted to teach my mail reader to transform HTML
into some lightweight markup (yeah, you need a bit of heuristics for
that ;-) -- say Org, but why not its poor sister Markdown.
I am not familiar with pandoc features enough to reason if it is safe
from security point of view.
for i in org markdown commonmark gfm ; do
printf '<strong>Bold %s</strong>' "$i" | pandoc -f html -t "$i" ;
done
*Bold org*
**Bold markdown**
**Bold commonmark**
**Bold gfm**
I believed that some text browser should render HTML well enough to make
messages readable in terminal.