Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clarify MathJax instructions in mod_astra #27

Open
markkuriekkinen opened this issue Aug 20, 2020 · 0 comments
Open

Clarify MathJax instructions in mod_astra #27

markkuriekkinen opened this issue Aug 20, 2020 · 0 comments

Comments

@markkuriekkinen
Copy link
Contributor

In the aplus-manual, improve the explanation of using MathJax.js for mathematics in the Moodle plugin mod_astra.

  • https://github.com/apluslms/mooc-grader/blob/master/doc/README_Moodle_frontend.md
  • in A+, MathJax.js can be included in the _templates/layout.html file with the data-aplus attribute so that the JS is included in chapters.
  • In mod_astra, this can't be done since Moodle already includes its version of MathJax and MathJax breaks when it is included twice in the page. Either the script is not included in _templates/layout.html or at least the data-aplus attribute must be left out.
  • In Moodle courses, the same course git repo can be used in A+ for testing if the MathJax.js is included in the A+ course settings (head URLs). (Because Mathjax can't be included directly in the chapters due to Moodle.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant