-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MathJax in emails #254
Comments
For reference, the issue mentioned above is : rstudio/rmarkdown#727 Some improvement needs to be done in rmarkdown regarding math support, to follow Pandoc updates on this. It is possible that this can help with self-contained document and remove the constraint. So maybe help for blastula ? I don't really know if a lib like mathjax can work inside email though... 🤔 Anyway, happy to think about it if things need to be done in rmarkdown. |
The main reason I use |
@rich-iannone I think we can make time for that in the coming weeks. Don't you think ? |
@dmi3kno you can try the PR pak::pak("rstudio/blastula@math-support") This is a POC of what is really easy to do to bring support in a rmarkdown format. I don't know at all if that works good for email at the end. As you'll see in PR description there is a second solution possible - if that is supported for email. This require testing as it would require inserting a CSS inline if possible. Anyway, thanks for pinging us again - this motivate me to make a quick try. |
Thanks @cderv for this work! It's looking really good so far in the PR. I will test it out with live emails (I can show you some of this in a meeting). |
Hi,
Thank you for the package! This has a promise of making scientific emailing easy and enjoyable!
I am trying to incorporate math formulas into my emails and I understand that it is turned off (
mathjax=null
) in the template. I tried turning it on (mathjax="default"
) and thenrmarkdown
complainsThere's this closed issue in
rmarkdown
that suggests it should be possible to work around the default template limitation. One solution could be to start blastula template from "default" and subsequently modify it into the form envisaged by the package. I tried supplying the "default" template argument, but of course I just get an unreadable wall of text instead of an email.Did you ever look into what it would take to enable mathjax in$mathjax$ and change the font to Serif?
blastula
? Can we at least catch the equation tags, created byThe text was updated successfully, but these errors were encountered: