asciidoctor / docgist

Render AsciiDoc documents from Gists, GitHub, DropBox and other remote sources in the browser.
http://gist.asciidoctor.org
57 stars 79 forks source link

Add MathJax support #8

Closed nawroth closed 10 years ago

mojavelinux commented 10 years ago

:+1:

Refer to the Chrome extension for logic that can be ported over.

https://github.com/asciidoctor/asciidoctor-chrome-extension/blob/master/js/renderer.js#L210

nawroth commented 10 years ago

Example: http://gist.asciidoctor.org/?c13ae221773e4793c0d2

nawroth commented 10 years ago

Oh, and I "ported" it as in copy-pasting! Tried to load it in a diffrent way but that got super flaky.

mojavelinux commented 10 years ago

stem:[(sqrt(-shit))^2]

Shit just got real.

Oh, and I "ported" it as in copy-pasting!

“Stealing” is just another way of saying “collaborating” in open source.

ggrossetie commented 10 years ago

Yeah \o/ FYI I also tried to load it in different way... ;)

nawroth commented 10 years ago

Maybe it's the same problem as the one brought up here: https://github.com/mathjax/MathJax/issues/836

Maybe we should both add a comment in the source as to why we're loading it like that @Mogztter !

mojavelinux commented 10 years ago

Please do. And let's work upstream if there's something we can get fixed there.

ggrossetie commented 10 years ago

Or a comment with a counter "People who tried to load MathJax differently: 3" ! Le 15 août 2014 00:25, "Dan Allen" notifications@github.com a écrit :

Please do. And let's work upstream if there's something we can get fixed there.

— Reply to this email directly or view it on GitHub https://github.com/asciidoctor/docgist/issues/8#issuecomment-52253327.

mojavelinux commented 10 years ago

Knock on their door by posting the problem as you understand it on that issue for sure.