From 958aed72f0ed3d253ab95b921d175313a7b23576 Mon Sep 17 00:00:00 2001 From: Navin Karkera Date: Wed, 13 Sep 2023 12:14:45 +0200 Subject: [PATCH] feat: add tip to disable mathjax processing for an element --- en_us/shared/exercises_tools/text_input.rst | 27 +++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/en_us/shared/exercises_tools/text_input.rst b/en_us/shared/exercises_tools/text_input.rst index 8b78744d1d..a4ef139f7a 100644 --- a/en_us/shared/exercises_tools/text_input.rst +++ b/en_us/shared/exercises_tools/text_input.rst @@ -113,8 +113,8 @@ Editing Text Input Problems using the Advanced Editor ********************************************************************* If the simple editor is not enough to meet your needs, you can switch over to the -advanced editor. In the setting panels on the right of the editor, click -**Show advanced settings**, then scroll down and click +advanced editor. In the setting panels on the right of the editor, click +**Show advanced settings**, then scroll down and click **Switch to advanced editor**. You can use the advanced editor to identify the elements of a text input problem @@ -342,6 +342,29 @@ Patterns", "string patterned", or "STRING PATTERNING" are all scored as correct, but learners who submit an answer of "Strings Pattern" or "string patern" are scored as incorrect. +========================= +Disable MathJax rendering +========================= + +You can configure a text input problem to accept raw expressions which could +resemble functions that are processed by MathJax by default. Sometimes this +might not be the expected behaviour, i.e., you want to accept raw expression as +well as display (show answer) it in its raw form. You can do this by simply +enclosing ```` element in ```` tag. All elements +inside this tag will be ignored by MathJax processor. An example follows. + +.. code-block:: xml + + + + +
Question
+ + +
+
+
+ .. _Text Input Problem XML: ********************************