Skip to content

Add Safe-Extension option to Latex (MathJax) - #343540

nobody requested to merge jgao1025/gitlab:issue-343540 into master

What does this MR do and why?

Add Safe-Extension option to Latex (MathJax)

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Screenshot_from_2023-01-03_14-19-12

How to set up and validate locally

  1. create a new project.
  2. create an ipynb file with mathjax math formula.
  3. put a log at app/assets/javascripts/notebook/cells/output/latex.vue Line 35.
console.log(window.MathJax);
  1. open that ipynb file on Gitlab.
  2. open dev tool -> console and find window.MathJax.
  3. find Object.config.loader.load, and it should be ui/safe.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by nobody

Merge request reports