greghendershott / frog

Frog is a static blog generator implemented in Racket, targeting Bootstrap and able to use Pygments.
916 stars 96 forks source link

Be more flexible about MathJax version #223

Closed tfeb closed 6 years ago

tfeb commented 6 years ago

This PR slightly enhances the math-jax widget:it now lets you specify the source URL and the configuration file as keyword arguments (src and config) with reasonable defaults.

So for instance

    @math-jax[#:src "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js"]

is the right incantation to use whatever the latest MathJax is at the current time (see documentation).

The default MathJax version version the widget uses is also now 2.7.5, up from 2.7.0

tfeb commented 6 years ago

I don't understand why the Travis build failed: it looks to have timed out? There seems to be no useful output anyway.

greghendershott commented 6 years ago

I restarted the Racket 6.2 build. Those older Racket versions fail intermittently with a sqlite error during raco pkg install.

greghendershott commented 6 years ago

Thanks!