<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
</head>
<body>
<div style="font-family:sans-serif"><div style="white-space:normal">
<p dir="auto">Hi,</p>
<p dir="auto">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 <code style="background-color:#F7F7F7; border-radius:3px; margin:0; padding:0 0.4em" bgcolor="#F7F7F7">format=flowed</code> to wrap it).</p>
<p dir="auto">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...</p>
<p dir="auto">-- <br>
Benny</p>
<p dir="auto">On 16 May 2017, at 22:54, Alexandru Nedelcu wrote:</p>
<blockquote style="border-left:2px solid #777; color:#777; margin:0 0 5px; padding-left:5px">
<p dir="auto">I see that this is documented behaviour mentioned at:</p>
<p dir="auto"><a href="https://manual.mailmate-app.com/preferences#a-namemarkupsupportamarkdown-support" style="color:#777">https://manual.mailmate-app.com/preferences#a-namemarkupsupportamarkdown-support</a></p>
<p dir="auto">Having some option in Preferences would be nice.</p>
<p dir="auto">Or let me know if this could be solved with some filter implemented<br>
through a bundle.</p>
<p dir="auto">-- <br>
Alex Nedelcu<br>
alexn.org</p>
<p dir="auto">On 16 May 2017, at 23:04, Alexandru Nedelcu wrote:</p>
<blockquote style="border-left:2px solid #777; color:#999; margin:0 0 5px; padding-left:5px; border-left-color:#999">
<p dir="auto">Hello,</p>
<p dir="auto">Word wrapping in Markdown introduces line breaks and I don't like this<br>
behavior.</p>
<p dir="auto">Can I configure it to not do that?</p>
<p dir="auto">I would like for newlines to be introduced only between paragraphs,<br>
the way for example GitHub's UI is configured to work by default. This<br>
is because Markdown is meant to be human readable and hard word<br>
wrapping is nice and doable with a good text editor.</p>
<p dir="auto">E.g. this email was composed using hard word wrapping. It might look<br>
good, but when viewed as HTML it breaks on a mobile phone and some<br>
lines will be too short when introducing inline links.</p>
<p dir="auto">-- <br>
Alex Nedelcu<br>
alexn.org</p>
<hr style="background:#333; background-image:linear-gradient(to right, #ccc, #333, #ccc); border:0; height:1px" height="1">
<p dir="auto">mailmate mailing list<br>
<a href="mailto:mailmate@lists.freron.com" style="color:#999">mailmate@lists.freron.com</a><br>
<a href="https://lists.freron.com/listinfo/mailmate" style="color:#999">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>
<hr style="background:#333; background-image:linear-gradient(to right, #ccc, #333, #ccc); border:0; height:1px" height="1">
<p dir="auto">mailmate mailing list<br>
<a href="mailto:mailmate@lists.freron.com" style="color:#777">mailmate@lists.freron.com</a><br>
<a href="https://lists.freron.com/listinfo/mailmate" style="color:#777">https://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>
</div>
</div>
</body>
</html>