tantaman / strut

Strut - An Impress.js and Bespoke.js Presentation Editor
http://strut.io
GNU Affero General Public License v3.0
1.82k stars 486 forks source link

how can I use mathjax.js and chart.js in impress.js? #262

Closed reboothit closed 1 year ago

reboothit commented 10 years ago

Thank you.

tantaman commented 10 years ago

Not at the moment but that has been a pretty popular feature request so we'll put it on the to-do list for the next release.

chengjun commented 10 years ago

Add mathjax.js and and chart.js would be amazing!

UbuntuWarrior commented 10 years ago

You can add an iframe to your slide and embed the html document with the cahrt.js content in it. You have to be sure, that the "widtht" attribute in the html document of the chart is set to 100% and that the width and height of the iframe are in a 16:9 proportion. Sorry for my bad english, I'm from germany and still goes to school ;)

mwcz commented 10 years ago

FYI, there's a new library called KaTeX that came across r/programming today. It's a lot like mathjax, but claims to be much faster. I don't have any preference, except to say that including arbitrary JS libraries (without having to resort to iframes) would be really useful. That would solve this issue, and any future "Strut includes library X but I want to use library Y instead!" complaints.