Skip to content

Commit

Permalink
config: add mathjax support
Browse files Browse the repository at this point in the history
  • Loading branch information
anikachurilova authored and slint committed Nov 20, 2023
1 parent 0cd243a commit deff58d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/zenodo_rdm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,3 +402,8 @@ def lock_edit_record_published_files(service, identity, record=None):

RDM_SEARCH_ARGS_SCHEMA = ZenodoArgsSchema
"""Zenodo search args schema to support legacy search parameters."""

THEME_MATHJAX_CDN = (
"//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js"
"?config=TeX-AMS-MML_HTMLorMML"
)

0 comments on commit deff58d

Please sign in to comment.