반응형
MathJax.js
를 load 했던걸,
```[.lang-html]
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.6.1/MathJax.js?config=TeX-MML-AM_CHTML"></script>
```/
아래와 같이 바꿔주면 된다는듯. (That will be faster as well as it is a smaller file.)
```[.lang-html]
<script src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.6.1/MathJax.js?config=TeX-AMS_CHTML"></script>
```/
See for gengeral MathJax settings/usages.
인터넷, Web, HTML, 블로그에서 수식 사용하고 싶은 분들은 참조하세요.
### Upgrading from v2 to v3
Upgrading from v2 to v3 Upgrading from v2 to v3 :: Configuration Changes
The service worker navigation preload request was cancelled before 'preloadResponse' settled. If you intend to use 'preloadResponse', use waitUntil() or respondWith() to wait for the promise to settle.
## ChatGPT: To prevent MathJax from rendering text enclosed by backticks ``. (Wrong answer I think.)
If you want to prevent MathJax from rendering text enclosed by backticks, you can do so by modifying the MathJax configuration.
To block MathJax from rendering backticks, you can add the following code to your MathJax configuration:
```[.linenums]
<script type="text/x-mathjax-config">
MathJax.Hub.Config({
tex2jax: {
inlineMath: [['$', '$'], ['\\(', '\\)']],
displayMath: [['$$', '$$'], ['\\[', '\\]']],
processEscapes: true,
ignoreClass: 'nostem|nolatexmath'
}
});
</script>
```/
The key part is the ignoreClass option, which tells MathJax to ignore any elements with the nostem or nolatexmath classes. You can add these classes to any elements that you want to exclude from MathJax processing.
See for gengeral MathJax settings/usages.
인터넷, Web, HTML, 블로그에서 수식 사용하고 싶은 분들은 참조하세요.
## RRA
- stackoverflow.com :: Mathjax strangely render back-tick in code blocks, asked at 2020-05-31, by Hanlin.
// answered by Davide Cervone, at 2020-06-01. - OpenAI ChatGPT
- kipid's blog :: 인터넷, Web, HTML, 블로그에서 수식 사용하기 (Equation or math in HTML, blog)
반응형
'[IT|Programming] > HTML related' 카테고리의 다른 글
HTML docuK format ver. 2.1, short copiable version (2023-05-30) (0) | 2023.05.30 |
---|---|
robots.txt 랑 sitemap.xml 설정하기 (0) | 2023.03.09 |
Change browser URL (window.location) without reloading or redirecting a page (1) | 2023.03.08 |
Learning PHP (0) | 2022.12.30 |
Learning Play Framework (0) | 2022.12.30 |
Vert.x 로 https (SSL/TLS) server 만들기 (3) | 2022.12.30 |
Netflix iframe 으로 퍼오기. (0) | 2021.03.13 |
http/https 링크
및 수식 (\ [ Outline 수식 \ ]
,\ ( inline 수식 \ )
::\
이후 띄어쓰기 없이) 을 넣으실 수 있습니다. 또한 code 는```
시작,```/
마지막으로 감싸 주시면 pretty-printed 되어서 나타납니다.```[.lang-js.scrollable.no-linenums]
같이 언어를 선택해 주실수도 있고, 긴 수식의 경우 scroll bar 가 생기게 만드실 수도 있습니다. .no-linenums 로 line numbering 을 없앨수도 있습니다.댓글 입력 후 rendering 된 형태를 보시려면, Handle CmtZ (단축키: N) 버튼을 눌러주세요. 오른쪽 아래 Floating Keys 에 있습니다. 아니면 댓글 젤 아래에 버튼이 있습니다.