-
Notifications
You must be signed in to change notification settings - Fork 3
/
extra_js.php
executable file
·39 lines (38 loc) · 962 Bytes
/
extra_js.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<script src="/template/semantic-ui/js/clipboard.min.js"></script>
<script src="/js/mavon-editor.js?ver=1.0.1"></script>
<script src='/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML' ></script>
<script src="/js/mermaid.min.js"></script>
<script>
Vue.use(window["mavon-editor"]);
mermaid.initialize({ theme: "default", startOnLoad: false });
</script>
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
showProcessingMessages:false,
messageStyle:"none",
tex2jax: {
inlineMath: [
['$', '$'],
['\\(', '\\)']
],
displayMath: [ ["$$","$$"] ],
skipTags: ['script', 'noscript', 'style', 'textarea', 'pre','code','a'],
},
TeX: {
equationNumbers: {
autoNumber: ["AMS"],
useLabelIds: true
}
},
"HTML-CSS": {
linebreaks: {
automatic: true
}
},
SVG: {
linebreaks: {
automatic: true
}
}
});
</script>