Skip to content

Commit

Permalink
Merge branch 'v3.0-latest'
Browse files Browse the repository at this point in the history
  • Loading branch information
dpvc committed Oct 19, 2019
2 parents 9cd2b35 + 31385cb commit 280023b
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion upgrading/v2.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ below.
author to encode HTML special characters like ``<``, ``>``, and
``&`` in their mathematics. Version 3 does not alter the document
in this way, and does not store the math that it locates in tags in
the page. Instead, it keeps an external list of math object (of the
the page. Instead, it keeps an external list of math objects (of the
``MathItem`` class). So if you wish to use such scripts to store
the math in the page initially, you can replace the ``find`` action
in the :ref:`renderActions <document-renderActions>` list to use a
Expand Down Expand Up @@ -242,6 +242,13 @@ below.
should find the scripts that MathJax version 2 normally would have
created.

Note that this will *replace* the standard ``find`` action that
looks for math delimiters with this one that looks for the MathJax
v2 script tags instead. If you want to do *both* the original
delimiter search *and* the search for script tags, then change the
``find:`` above to ``findScript:`` so that it doesn't replace the
default ``find`` action. That way, both actions will occur.

-----


Expand Down

0 comments on commit 280023b

Please sign in to comment.