You are here

function mathjax_default_cdn_url in MathJax: LaTeX for Drupal 7

Default setting for CDN url for MathJax. Can be overridden in the settings.

4 calls to mathjax_default_cdn_url()
MathjaxAdminTestCase::testAdmin in tests/mathjax_admin.test
Test the configuration data.
MathjaxConfigTestCase::testConfig in tests/mathjax_config.test
Test the configuration data.
mathjax_global_settings in ./mathjax.module
Configure global settings for MathJax.
mathjax_init in ./mathjax.module
Implements hook_init().

File

./mathjax.module, line 10
MathJax module.

Code

function mathjax_default_cdn_url() {
  return 'https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
}