forked from viennet/Referentiels
Affichage du langage Latex
This commit is contained in:
parent
5dbd0b6134
commit
c4be452682
@ -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 -->
|
||||
|
@ -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: [['$', '$']]
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user