<div class="markdown">
<p dir="auto">So it would probably end up being a preference that, when enabled, always generated an HTML body part... given that HTML would be generated just by using an apostrophe or double quotes, it would seem like a waste of time (and unpredictable to the user, by and large) to parse every email to avoid sending HTML. I think it should just be noted when enabling SmartyPants (or smart punctuation, whatever you wanted to label it as) that any preference to disable HTML emails will be overridden. </p>

<p dir="auto">Just thinking out loud, I'll leave implementation decisions up to you :). I do hope you consider the request, though.</p>

<p dir="auto">On 23 Nov 2013, at 14:26, Benny Kjær Nielsen wrote:</p>

<blockquote>
<p dir="auto">On 23 Nov 2013, at 17:57, Brett Terpstra wrote:</p>

<blockquote>
<p dir="auto">There's no SmartyPants processing in the Markdown handler, is there? Is there a pref I missed?</p>
</blockquote>

<p dir="auto">Nope, I've never added/enabled it. The Markdown handler is based on <code>sundown</code> (previously known as <code>upskirt</code>). My changes for the purpose of emails are <a href="https://github.com/freron/upskirt">here</a>. It's still in flux, because I don't take the time to carefully consider the (important) details. <a href="http://blog.freron.com/2011/thoughts-on-writing-emails-using-markdown/">Here</a> are my original thoughts on using Markdown for emails.</p>

<blockquote>
<p dir="auto">If not, I think that would be an ideal addition. Half the point of writing emails in Markdown for me is to have all the punctuation come out correctly without having to think about it... (<- that should be an elipsis :) ).</p>
</blockquote>

<p dir="auto">Good point. One caveat is that I would really not want to generate HTML just because some punctuation is used, that is, SmartyPants should be somewhat independent of the Markdown conversion. That's an implementation note for myself :-)</p>

<p dir="auto">(Currently, MailMate does not generate an HTML body part if it doesn't find any Markdown-related markup in the generated output. I really do prefer plain text messages whenever possible.)</p>

<p dir="auto">-- <br>
Benny</p>

<hr>

<p dir="auto">mailmate mailing list<br>
<a href="mailto:mailmate@lists.freron.com">mailmate@lists.freron.com</a><br>
<a href="http://lists.freron.com/listinfo/mailmate">http://lists.freron.com/listinfo/mailmate</a></p>
</blockquote>

</div>