Skip to content

Commit

Permalink
Merge pull request #1598 from brichet/0.7.x
Browse files Browse the repository at this point in the history
Fix mathjax in formgrade templates
  • Loading branch information
jhamrick authored Jun 13, 2022
2 parents 7b24031 + ce3d756 commit cfafd47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nbgrader/server_extensions/formgrader/handlers.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def get(self, submission_id):
'index': ix,
'total': len(indices),
'base_url': self.base_url,
'mathjax_url': self.mathjax_url,
'my_mathjax_url': self.base_url + '/' + self.mathjax_url,
'student': student_id,
'last_name': submission.student.last_name,
'first_name': submission.student.first_name,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
{% endfor %}

<!-- Loading mathjax macro -->
{{ mathjax( resources.mathjax_url + '?config=TeX-AMS-MML_HTMLorMML-full') }}
{{ mathjax( resources.my_mathjax_url + '?config=TeX-AMS-MML_HTMLorMML-full') }}

<link rel="stylesheet" href="{{ resources.base_url }}/formgrader/static/css/formgrade.css" />

Expand Down

0 comments on commit cfafd47

Please sign in to comment.