extra.js 300 B

123456789101112131415161718192021
  1. window.MathJax = {
  2. tex: {
  3. inlineMath: [
  4. [ '\\(', '\\)' ]
  5. ],
  6. displayMath: [
  7. [ '\\[', '\\]' ]
  8. ],
  9. processEscapes: true,
  10. processEnvironments: true
  11. },
  12. options: {
  13. ignoreHtmlClass: '.*|',
  14. processHtmlClass: 'arithmatex'
  15. }
  16. }
  17. document$.subscribe(() => {
  18. MathJax.typesetPromise()
  19. })