We appreciate the thinking out loud, even when we don’t know enough of the technical material to fully follow.
Howie



On 26 Jun 2016, at 7:47, Benny Kjær Nielsen wrote:

On 26 Jun 2016, at 12:44, Charlie Allom wrote:

Can I replace Markdown with a self-made plugin for another markup language? Just the same output styles is sufficient.

You can, but you shouldn't.

Markdown is perfect for emails since it is based on email tradition. In other words, even if Markdown is not converted to HTML then it's (mostly) readable. MailMate marks outgoing emails as being based on Markdown and MailMate itself uses this to be smarter when replying/forwarding such emails. It would be quite bad if something is marked as Markdown when it isn't.

Technically, MailMate currently heavily relies on exactly how the Markdown is generated, but this could probably be solved. When/if it is then I could probably allow custom Markdown converters or even other markup languages. It's not at the top of my list though.

Slightly off topic, I'm strongly considering switching from `sundown` to `CommonMark`, but the latter does not support any kind of tables. I'll be interested if anyone has a solution to this problem. It might actually be best if MailMate handles it similarly to how it handles math and syntax highlighted segments. In other words, HTML table generation could be handled separately from the Markdown conversion (also allowing more than 1 table format). Well, just thinking out loud.

--
Benny
_______________________________________________
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