function mathjax_help in MathJax: LaTeX for Drupal 7
Same name and namespace in other branches
- 8.2 mathjax.module \mathjax_help()
- 6 mathjax.module \mathjax_help()
- 7.2 mathjax.module \mathjax_help()
- 3.0.x mathjax.module \mathjax_help()
Implements hook_help().
File
- ./
mathjax.module, line 35 - MathJax module.
Code
function mathjax_help($path, $arg) {
switch ($path) {
// Main module help for the mathjax module.
case 'admin/settings/mathjax':
return t('MathJax allows you to include mathematics in your web pages, either using TeX and LaTeX notation, or as MathML, and you can even use both in the same document. Go to the <a href="@url">MathJax website</a> for more information.', array(
'@url' => url('http://www.mathjax.org/'),
));
case 'admin/help#mathjax':
return '<p>' . t('MathJax allows you to include mathematics in your web pages, either using TeX and LaTeX notation, or as MathML, and you can even use both in the same document. Go to the <a href="@url">MathJax website</a> for more information.', array(
'@url' => url('http://www.mathjax.org/'),
)) . '</p>';
}
}