Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions resources/ext.SimpleMathJax.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ var defaults = {
wgSmjDelimitersDisplayMath: [],
wgSmjIgnoreHtmlClass: 'mathjax_ignore|comment|diff-(context|addedline|deletedline)',
wgSmjScale: 1,
wgSmjEnableMenu: true,
wgSmjExplorerEnabled: false
};

Expand Down Expand Up @@ -146,6 +147,7 @@ function ensureLoaded() {
options: {
ignoreHtmlClass: config('wgSmjIgnoreHtmlClass'),
processHtmlClass: "mathjax_process|smj-container",
enableMenu: config('wgSmjEnableMenu'),
// Semantic enrichment drives MathJax 4's explorer: a click selects and
// highlights a symbol. Readers can still turn it on from the menu.
menuOptions: {
Expand Down
Loading