mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-06 04:14:25 +00:00
- Upgrade MathJax from v2 to v3 - Updated Highlight, Leaflet, Fancybox, Mermaid, FontAwesome - Fixed multilingual icon paths in Web App Manifest - View Demo script now binds to all network I/F to enable testing on other physical devices like smart phones BREAKING CHANGES: Removed `plugins_css` from `params.toml`. Override `custom.scss` to add custom styling. Close #1400
17 lines
487 B
JavaScript
17 lines
487 B
JavaScript
// MathJax Configuration
|
|
//
|
|
// v2 to v3 upgrade notes:
|
|
// - The CommonHTML.linebreaks option is not yet implemented (but may be in a future release)
|
|
// - The TeX.noUndefined.attributes option is not yet implemented (but may be in a future release)
|
|
window.MathJax = {
|
|
tex: {
|
|
inlineMath: [['$', '$'], ['\\(', '\\)']],
|
|
displayMath: [['$$', '$$'], ['\\[', '\\]']],
|
|
processEscapes: false,
|
|
packages: {'[+]': ['noerrors']}
|
|
},
|
|
loader: {
|
|
load: ['[tex]/noerrors']
|
|
}
|
|
};
|