mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00

- js code that was previously bundled in .py files is now in the web folder - add helpers to create links to bundled files, and update stdHtml() to accept a list of javascript files to include instead of text - render MathJax in card layout and preview screens - these should be updated in the future to update the document dynamically like the reviewer does - start media server earlier so it can be used to serve content for the toolbar, etc - work around a bug in WebEngine on Windows that could cause the media server to hang
10 lines
260 B
JavaScript
10 lines
260 B
JavaScript
window.MathJax = {
|
|
jax: ["input/TeX","output/CommonHTML"],
|
|
extensions: ["tex2jax.js"],
|
|
TeX: {
|
|
extensions: ["AMSmath.js","AMSsymbols.js","noErrors.js","noUndefined.js"]
|
|
},
|
|
messageStyle: "none",
|
|
skipStartupTypeset: true,
|
|
showMathMenu: false
|
|
};
|