edited post

This commit is contained in:
Morgan 2023-10-29 10:54:59 +09:00
parent b64878476e
commit 65d8766f3d
2 changed files with 17 additions and 12 deletions

View File

@ -4,7 +4,7 @@ description = ""
draft = false
slug = "pyphy-mulrienjin-1pyeon-gibon-aidieo"
title = "파이썬으로 구현한 뉴턴의 방정식과 적분방정식"
math = true
+++

View File

@ -38,18 +38,23 @@
</script>
{{- end }}
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$','$'], ['\\(','\\)']],
displayMath: [['$$','$$']],
},
"HTML-CSS": {
scale: 80
},
{{ if .Params.math }}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.css">
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/katex.min.js"></script>
<script defer src="https://cdn.jsdelivr.net/npm/katex@0.16.9/dist/contrib/auto-render.min.js" onload="renderMathInElement(document.body);"></script>
<script>
document.addEventListener("DOMContentLoaded", function() {
renderMathInElement(document.body, {
delimiters: [
{left: "$$", right: "$$", display: true},
{left: "$", right: "$", display: false}
]
});
});
</script>
<script src="//cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script>
{{ end }}
<header class="header">
<nav class="nav">
<div class="logo">