1
0
Fork 0
mirror of https://github.com/sbrl/Pepperminty-Wiki.git synced 2024-11-25 17:23:00 +00:00

Add help section on math expression rendering

This commit is contained in:
Starbeamrainbowlabs 2016-04-03 17:56:42 +01:00
parent ba3b3609dd
commit b84e4cdadb
2 changed files with 8 additions and 0 deletions

View file

@ -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>&#36;x^2&#36;</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>");
//////////////////////////////////////////////////////////////////

View file

@ -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>&#36;x^2&#36;</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% //