[MlMt] Two questions
Bill Cole
mmlist-20120120 at billmail.scconsult.com
Sat Dec 21 13:53:09 EST 2024
On 2024-12-19 at 23:48:06 UTC-0500 (Thu, 19 Dec 2024 22:48:06 -0600)
Jeff Bullard via mailmate <mailmate at lists.freron.com>
is rumored to have said:
> I an a fairly new user so I apologize if the answers to this question
> are obvious, but I searched this mailing list and the issue tracker
> and could find only one somewhat related thread that didn’t help me.
>
> **TL;DR** I need help getting Mermaid syntax and finding out how some
> of the bundles should be used. BTW I seem to be using a pre-release
> somehow, Build 5937, so maybe that is an issue?
>
> ### Mermaid integration
>
> The TeXMath bundle works really well:
>
> ~~~math
> \int x\, \text{d}x = \frac{1}{2} x^2 + C
> ~~~
>
> But when I try Mermaid like this,
>
> ```
> ~~~mermaid
> graph LR
> A —> B
> B —> C
> ~~~
> ```
>
> I get an orange message above the header that says
> ```
> Bundle command failed (event: generate_diagram)
> Explanation Unable to reach output
> format type (discard !=html)
> ```
From what I understand of Mermaid, it uses JavaScript. MailMate (like
almost every MUA) wisely has no support for running JavaScript in email
and never should. You probably just need to create the diagram manually
and embed the graphic.
> I have mermaid-cli installed on my Mac, and I can generate Mermaid
> graphics from the command line using exactly that same syntax, so
> I’m not sure what is going wrong.
There's no bundle for it. I would not expect such a bundle to be
possible, but maybe I'm missing something.
(I have never used Fantastical, so I don't have any answer to your
question about that.)
--
Bill Cole
bill at scconsult.com or billcole at apache.org
(AKA @grumpybozo at toad.social and many *@billmail.scconsult.com
addresses)
Not Currently Available For Hire
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freron.com/pipermail/mailmate/attachments/20241221/d1af4984/attachment.htm>
More information about the mailmate
mailing list