Codimd: External Server Requests

Created on 18 Oct 2016  路  4Comments  路  Source: hackmdio/codimd

Right now, If I request one of the pads from my own installation, there's three things that get downloaded from somewhere else:

  • A CSS from fonts.googleapis.com
  • A font from fonts.gstatic.com (Source Sans Pro)
  • A JavaScript from cdn.mathjax.org

I would like to propose adding them to the repository (where allowed by the licenses) or disabling them via an option.

enhancement

Most helpful comment

Hey @ccoenen !

I understand your need and already know about the google font but wondering about the mathjax.
Will check that out later.

Thanks for heads up 馃槃

All 4 comments

Hey @ccoenen !

I understand your need and already know about the google font but wondering about the mathjax.
Will check that out later.

Thanks for heads up 馃槃

There is an extra JS from cdn.mathjax.org that is accessibility-menu.js which just an enhancement of mathjax, so it doesn't really matter.

I think this issue solved after efd62bd1ca5550080ccf1254ecb95c5cb6afd983 and #243
Reopen if you found anything else 馃槃

@jackycute testing 0.4.6 release right now, I can configure usecdn to be false. That works great for everything except the mathcdn-accessibility-menu.js. Is there any way to get rid of that one, too? Otherwise it looks awesome.

I tried to find out how to include that in our packing.
But it turned out that MathJax haven't support webpack.
https://github.com/mathjax/MathJax/issues/1629

So we can only turn off accessibility option to shut it up.
But actually MathJax still working even fail to load that file.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ghost picture ghost  路  5Comments

farleylai picture farleylai  路  5Comments

arnisoph picture arnisoph  路  5Comments

ccoenen picture ccoenen  路  3Comments

mxmo0rhuhn picture mxmo0rhuhn  路  3Comments