Katex plugin not rendering in Learndash Quizzes
-
I’m making quizzes with Learndash plugin for wordpress. Katex does a fine job but there are a few issues.
When quizzes are set to randomize question order and when I want to display feedback for the questions, the shortcode does not render Latex.I’ve reached out to Learndash developers and below is what they had to say about it.
Here is the link to a page where katex renders.
https://orientationbatistonparcours.srv11.createurdimage.fr/quizzes/derivees-niveau-3/
And another one where Katex does not render
https://orientationbatistonparcours.srv11.createurdimage.fr/quizzes/derivees-piste-verte/____________copy paste from learndash support_______
Our developers dug into this deeper and the issue is coming from the Katex plugin and how they render the shortcode.Since our quizzes are being generated via Ajax for the most part, the shortcode is not rendering correctly. More specifically, this conditional is blocking the shortcode from generating: https://monosnap.com/file/qEqxCaZJi77ulw6VPbD6bVpRfOMn0I
So this is why when the questions are being loaded via AJAX the [katex] shortcode is not registered with WP and thus not setup to handle the parsing of the content.
It does seem like the Katex plugin author is aware of this to some extent, so it would be more appropriate for them to resolve it via their plugin.
The page I need help with: [log in to see the link]
- The topic ‘Katex plugin not rendering in Learndash Quizzes’ is closed to new replies.