Skip to content

Commit

Permalink
simplify setup; for now MathJax is loaded from internet
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolasibalic committed Jan 19, 2025
1 parent bee5a79 commit 4bc9b88
Show file tree
Hide file tree
Showing 305 changed files with 7 additions and 2,613 deletions.
6 changes: 2 additions & 4 deletions caroline/html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -180,8 +180,7 @@ <h2 id="confirmmessage"></h2>
<div id="notify">
<span></span>
</div>

<script>
<script type="module">
MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
Expand All @@ -198,11 +197,10 @@ <h2 id="confirmmessage"></h2>
loader: { load: ['[tex]/bbox'] }
};
</script>
<script type="module" id="MathJax-script" src="./js/mathjax/tex-chtml.js" defer></script>
<script type="text/javascript" id="MathJax-script" async defer src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-svg.js"></script>
<script src="https://www.google.com/recaptcha/api.js" async defer></script>
<link id="codelightcss" rel="stylesheet" href="./style/atom-one-light.min.css" defer disabled="disabled">
<link id="codedarkcss" rel="stylesheet" href="./style/atom-one-dark.min.css" defer>
<script src='./js/nbv.js' defer></script>
<script type="module">
import { initRoundTable, initApp, enabaleProceed, disableProceed } from './js/caroline.js';
import YAML from 'yaml';
Expand Down
2 changes: 2 additions & 0 deletions caroline/html/js/caroline.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ import { getDocument as getPDFDocument } from "pdfjs-dist";
import "pdfjs-dist/build/pdf.worker.mjs";
import markdownItMathjax from "markdown-it-mathjax";
import markdownit from "markdown-it";
import { nbv_constructor } from "./nbv.js";


function resize() {
if (roundTable || singleUserTable) {
Expand Down
1 change: 0 additions & 1 deletion caroline/html/js/mathjax/a11y/assistive-mml.js

This file was deleted.

1 change: 0 additions & 1 deletion caroline/html/js/mathjax/a11y/complexity.js

This file was deleted.

1 change: 0 additions & 1 deletion caroline/html/js/mathjax/a11y/explorer.js

This file was deleted.

1 change: 0 additions & 1 deletion caroline/html/js/mathjax/a11y/semantic-enrich.js

This file was deleted.

1 change: 0 additions & 1 deletion caroline/html/js/mathjax/adaptors/liteDOM.js

This file was deleted.

1 change: 0 additions & 1 deletion caroline/html/js/mathjax/core.js

This file was deleted.

1 change: 0 additions & 1 deletion caroline/html/js/mathjax/input/asciimath.js

This file was deleted.

Loading

0 comments on commit 4bc9b88

Please sign in to comment.