Commit 1da7bcf8 by Alexander Kryklia

Fixes bugs in documentation (rst format)

parent a3a2412c
...@@ -53,7 +53,7 @@ Examples of conditional depends on poll ...@@ -53,7 +53,7 @@ Examples of conditional depends on poll
</conditional> </conditional>
Examples of conditional depends on poll (use <show> tag) Examples of conditional depends on poll (use <show> tag)
------------------------------------------- --------------------------------------------------------
.. code-block:: xml .. code-block:: xml
......
...@@ -420,6 +420,6 @@ Draggables can be reused ...@@ -420,6 +420,6 @@ Draggables can be reused
.. literalinclude:: drag-n-drop-demo2.xml .. literalinclude:: drag-n-drop-demo2.xml
Examples of targets on draggables Examples of targets on draggables
------------------------ ---------------------------------
.. literalinclude:: drag-n-drop-demo3.xml .. literalinclude:: drag-n-drop-demo3.xml
...@@ -362,7 +362,7 @@ that has to be updated on a parameter's change, then one can define ...@@ -362,7 +362,7 @@ that has to be updated on a parameter's change, then one can define
a special function to handle this. The "output" of such a function must be a special function to handle this. The "output" of such a function must be
set to "none", and the JavaScript code inside this function must update the set to "none", and the JavaScript code inside this function must update the
MathJax element by itself. Before exiting, MathJax typeset function should MathJax element by itself. Before exiting, MathJax typeset function should
be called so that the new text will be re-rendered by MathJax. For example, be called so that the new text will be re-rendered by MathJax. For example::
<render> <render>
... ...
......
...@@ -19,11 +19,11 @@ This is a partial list of features, to be revised as we go along: ...@@ -19,11 +19,11 @@ This is a partial list of features, to be revised as we go along:
An example of a problem:: An example of a problem::
<symbolicresponse expect="a_b^c + b_x__d" size="30"> <symbolicresponse expect="a_b^c + b_x__d" size="30">
<textline math="1" <textline math="1"
preprocessorClassName="SymbolicMathjaxPreprocessor" preprocessorClassName="SymbolicMathjaxPreprocessor"
preprocessorSrc="/static/js/capa/symbolic_mathjax_preprocessor.js"/> preprocessorSrc="/static/js/capa/symbolic_mathjax_preprocessor.js"/>
</symbolicresponse> </symbolicresponse>
It's a bit of a pain to enter that. It's a bit of a pain to enter that.
......
...@@ -28,6 +28,7 @@ Specific Problem Types ...@@ -28,6 +28,7 @@ Specific Problem Types
course_data_formats/conditional_module/conditional_module.rst course_data_formats/conditional_module/conditional_module.rst
course_data_formats/word_cloud/word_cloud.rst course_data_formats/word_cloud/word_cloud.rst
course_data_formats/custom_response.rst course_data_formats/custom_response.rst
course_data_formats/symbolic_response.rst
Internal Data Formats Internal Data Formats
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment