You are here

function mathjax_filter_tips in MathJax: LaTeX for Drupal 7.2

Same name and namespace in other branches
  1. 6 mathjax.module \mathjax_filter_tips()

Filter tips callback for the mathjax filter.

1 string reference to 'mathjax_filter_tips'
mathjax_filter_info in ./mathjax.module
Implements hook_filter_info().

File

./mathjax.module, line 149
MathJax module.

Code

function mathjax_filter_tips($filter, $format, $long = FALSE) {
  return t('<span class="tex2jax_ignore">Mathematics inside the <a href="@url">configured delimiters</a> is
    rendered by MathJax. The default math delimiters are $$...$$ and \\[...\\] for
    displayed mathematics, and $...$ and \\(...\\) for in-line mathematics.</span>', array(
    '@url' => url('admin/config/content/mathjax'),
  ));
}