Skip to content

Commit

Permalink
Merge pull request #3157 from eric-wieser/patch-1
Browse files Browse the repository at this point in the history
RevealMath.MathJax3: Allow the skipHtmlTags option to be overriden
  • Loading branch information
hakimel authored Mar 21, 2022
2 parents 41d5a12 + 470aa76 commit 57e5d10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugin/math/mathjax3.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const MathJax3 = () => {
let revealOptions = deck.getConfig().mathjax3 || {};
let options = {...defaultOptions, ...revealOptions};
options.tex = {...defaultOptions.tex, ...revealOptions.tex}
options.options = {...options.options, ...defaultOptions.options}
options.options = {...defaultOptions.options, ...revealOptions.options}
options.startup = {...defaultOptions.startup, ...revealOptions.startup}

let url = options.mathjax || 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js';
Expand Down

0 comments on commit 57e5d10

Please sign in to comment.