Quoting Timo Röhling (2025-03-10 11:19:01)
> Hi Charles,
> 
> * Charles Plessy <ple...@debian.org> [2025-03-10 09:32]:
> >Le Sun, Mar 09, 2025 at 10:13:51PM +0100, Philip Hands a écrit : > >
> >Having skimmed through the 106 mails I currently see in this thread, >
> >this is the way I’d summarise people’s preferences (if anyone sees
> >that > I’ve mis-characterised their view, I promise it was not
> >intentional, so > please forgive me and correct my mistake)
> >
> >Hi Philip and everybody,
> >
> >to be clear: I am supporting the proposition to remove the requrement to
> >wrap lines. I would like to add that I think that we should not organise
> >GRs on that kind of questions.
> >
> >I am also exploring the use of text/markdown as the default content type
> >for my emails.
> >
> >Have a nice day,
> >
> >    Charles Plessy                     Nagahama, Yomitan, Okinawa, Japan
> >    Debian Med packaging team     http://www.debian.org/devel/debian-med
> >    Tooting from home              https://framapiaf.org/@charles_plessy
> >    -  You do not have my permission to use this email to train an AI  -
> 
> I cannot read your email at all with K-9 Mail on Android, because 
> text/markdown is not treated like text at all, and the file cannot be 
> opened with any app I have installed at the moment. Frankly, I initially 
> thought you sent some garbage by accident and ignored the mail.
> 
> Mutt at least tells me now that I'm dealing with text/markdown, so I 
> manually added a mailcap entry:
> 
> text/markdown; iconv -f %{charset} -t utf-8 | pandoc -f markdown -t 
> plain; copiousoutput
> 
> It works somewhat, but it mangles quotes quite badly since pandoc does 
> not know about '>' quote markers (I quoted your mail in full and this is 
> pretty much how it is rendered in mutt).

It should work, but perhaps what you are experiencing is that by default
pandoc expects a blank line between changes of blockquote level:
https://pandoc.org/MANUAL.html#extension-blank_before_blockquote

Maybe this works: pandoc -f markdown-blank_before_blockquote -t plain

(if not, then try replace "-" with "+")

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/
 * Sponsorship: https://ko-fi.com/drjones

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply via email to