mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-26 05:32:59 +00:00
Add help section on math expression rendering
This commit is contained in:
parent
ba3b3609dd
commit
b84e4cdadb
2 changed files with 8 additions and 0 deletions
|
@ -1342,6 +1342,10 @@ function add_help_section($index, $title, $content)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!empty($settings->enable_math_rendering))
|
||||||
|
add_help_section("22-Mathematical-Expressions", "Methematical Expressions", "<p>$settings->sitename supports rendering of mathematical expressions. Mathematical expressions can be included practically anywhere in your page. Expressions should be written in LaTeX and enclosed in dollar signs like this: <code>$x^2$</code>.</p>
|
||||||
|
<p>Note that expression parsing is done on the viewer's computer with javascript (specifically MathJax) and not by $settings->sitename directly (also called client side rendering).</p>");
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
|
4
core.php
4
core.php
|
@ -952,6 +952,10 @@ function add_help_section($index, $title, $content)
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if(!empty($settings->enable_math_rendering))
|
||||||
|
add_help_section("22-Mathematical-Expressions", "Methematical Expressions", "<p>$settings->sitename supports rendering of mathematical expressions. Mathematical expressions can be included practically anywhere in your page. Expressions should be written in LaTeX and enclosed in dollar signs like this: <code>$x^2$</code>.</p>
|
||||||
|
<p>Note that expression parsing is done on the viewer's computer with javascript (specifically MathJax) and not by $settings->sitename directly (also called client side rendering).</p>");
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
// %next_module% //
|
// %next_module% //
|
||||||
|
|
Loading…
Reference in a new issue