Hi,

it's not possible to do this using a filter. Well, a filter could probably make the generated HTML as desired, but this would not solve the problem of the plain text part still being hard-wrapped. A separate filter would be needed to fix that (unwrapping it to allow MailMate to use `format=flowed` to wrap it).

Eventually (I've been saying this for years though), I'm likely to allow custom Markdown converters and then I'll have to consider this problem as well since most of the converters do not behave like the one in MailMate. I'm thinking I might have hinted at the best solution in my answer above, that is, a separate filter which can convert plain text Markdown to non-hard-wrapped Markdown. That might be non-trivial though since such a converter would have to be aware of the exact Markdown syntax supported bye the custom converter...

--
Benny

On 16 May 2017, at 22:54, Alexandru Nedelcu wrote:

I see that this is documented behaviour mentioned at:

https://manual.mailmate-app.com/preferences#a-namemarkupsupportamarkdown-support

Having some option in Preferences would be nice.

Or let me know if this could be solved with some filter implemented
through a bundle.

--
Alex Nedelcu
alexn.org

On 16 May 2017, at 23:04, Alexandru Nedelcu wrote:

Hello,

Word wrapping in Markdown introduces line breaks and I don't like this
behavior.

Can I configure it to not do that?

I would like for newlines to be introduced only between paragraphs,
the way for example GitHub's UI is configured to work by default. This
is because Markdown is meant to be human readable and hard word
wrapping is nice and doable with a good text editor.

E.g. this email was composed using hard word wrapping. It might look
good, but when viewed as HTML it breaks on a mobile phone and some
lines will be too short when introducing inline links.

--
Alex Nedelcu
alexn.org
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate
_______________________________________________
mailmate mailing list
mailmate@lists.freron.com
https://lists.freron.com/listinfo/mailmate

Reply via email to