[MlMt] different markup language plugin?
Benny Kjær Nielsen
mailinglist at freron.com
Sun Jun 26 10:47:16 EDT 2016
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20160626/41f7d66e/attachment.html>
More information about the mailmate
mailing list