Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
fl2on authored Jul 10, 2024
1 parent 5344b2a commit 20a0082
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions js/INICIO.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,15 @@ document.getElementById("output").innerHTML = result;
const historyItem = document.createElement("li");
historyItem.innerHTML = `Expresión: \[${expression}\] <br> Variable: \[${variable}\] <br> Resultado: \[${result}\]`;
document.getElementById("historyList").prepend(historyItem);
window.MathJax = {
tex: {
inlineMath: [['$', '$'], ['\\(', '\\)'], ['\\[', '\\]']], // Puedes añadir otros delimitadores aquí
tags: 'ams'
},
startup: {
ready: function() {
MathJax.startup.defaultReady();
// Tu código existente aquí
}
}
};

0 comments on commit 20a0082

Please sign in to comment.