Affichage du langage Latex

This commit is contained in:
Éric Li 2021-04-27 10:36:12 +02:00
parent 5dbd0b6134
commit c4be452682
2 changed files with 9 additions and 1 deletions

View File

@ -7,6 +7,7 @@
<link type="text/css" rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bulma@0.9.2/css/bulma.min.css">
<link type="text/css" rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script id="MathJax-script" async src="https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js"></script>
</head>
<body>
<!-- Barre de navigation -->

View File

@ -15,4 +15,11 @@ $("document").ready(function() {
$("#rechercher").keyup(function(e) {
if(e.keyCode == 13) {location.href = $(this).val().toUpperCase() + ".html"}
});
});
});
// Permet l'affichage du LaTeX avec comme balise délimiteur "$"
MathJax = {
tex: {
inlineMath: [['$', '$']]
}
};