diff --git a/_posts/development/web/2024-11-17-math-equations-in-markdown.md b/_posts/development/web/2024-11-17-math-equations-in-markdown.md index d0078b2..de0e749 100644 --- a/_posts/development/web/2024-11-17-math-equations-in-markdown.md +++ b/_posts/development/web/2024-11-17-math-equations-in-markdown.md @@ -102,7 +102,7 @@ attachment: (?<=\$\S[^$]*)\s?_\s?(?=[^$]*\S\$) ``` -자세한 설명은 생략한다... 이 정규식이 잡아낸 `_`를 전부 ` _ `로 고쳐주면 끝이다. +자세한 설명은 생략한다... 이 정규식이 잡아낸 `_`를 전부 `\s_\s`로 고쳐주면 끝이다. 개인적으로는 Obsidian에서 블로그 repository로 push할 때 text replacement 기능을 이용해서 자동으로 고쳐지도록 세팅해 두었다.[^2]