update index
This commit is contained in:
@@ -10,6 +10,9 @@
|
|||||||
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.css"> -->
|
<!-- <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.css"> -->
|
||||||
<!-- <script src="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.js"></script> -->
|
<!-- <script src="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.js"></script> -->
|
||||||
<!-- <link rel="stylesheet" href="//unpkg.com/docsify@4.7.0/lib/themes/vue.css"> -->
|
<!-- <link rel="stylesheet" href="//unpkg.com/docsify@4.7.0/lib/themes/vue.css"> -->
|
||||||
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.css">
|
||||||
|
<script src="https://cdn.jsdelivr.net/npm/katex@0.10.0-rc.1/dist/katex.min.js"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.katex-display > .katex {
|
.katex-display > .katex {
|
||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
@@ -30,9 +33,9 @@
|
|||||||
previousText:'上一篇',
|
previousText:'上一篇',
|
||||||
nextText:'下一篇',
|
nextText:'下一篇',
|
||||||
},
|
},
|
||||||
// markdown: {
|
markdown: {
|
||||||
// latexRender: katex.renderToString.bind(katex)
|
latexRender: katex.renderToString.bind(katex)
|
||||||
// },
|
},
|
||||||
search:{
|
search:{
|
||||||
placeholder:'搜索',
|
placeholder:'搜索',
|
||||||
noData:'找不到结果',
|
noData:'找不到结果',
|
||||||
@@ -48,15 +51,15 @@
|
|||||||
return content.replace(/..\/img/g, "img");
|
return content.replace(/..\/img/g, "img");
|
||||||
})
|
})
|
||||||
|
|
||||||
// hook.doneEach(function () {
|
hook.doneEach(function () {
|
||||||
// window.MathJax.Hub.Queue(["Typeset", MathJax.Hub, document.getElementById('app')]);
|
window.MathJax.Hub.Queue(["Typeset", MathJax.Hub, document.getElementById('app')]);
|
||||||
// })
|
})
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
<!-- 公式 -->
|
<!-- 公式 -->
|
||||||
<!-- <script type="text/x-mathjax-config">
|
<script type="text/x-mathjax-config">
|
||||||
MathJax.Hub.Config({
|
MathJax.Hub.Config({
|
||||||
extensions: ["tex2jax.js"],
|
extensions: ["tex2jax.js"],
|
||||||
jax: ["input/TeX", "output/HTML-CSS"],
|
jax: ["input/TeX", "output/HTML-CSS"],
|
||||||
@@ -68,7 +71,7 @@
|
|||||||
},
|
},
|
||||||
"HTML-CSS": { fonts: ["TeX"] }
|
"HTML-CSS": { fonts: ["TeX"] }
|
||||||
});
|
});
|
||||||
</script> -->
|
</script>
|
||||||
|
|
||||||
<script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script>
|
<script src="//cdn.jsdelivr.net/npm/docsify-katex@latest/dist/docsify-katex.js"></script>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user