MarkdownパーサーGoldmarkはアンダーバー[_]が二個あるとHTMLの強調命令と勘違いして処理

【対策法あり】:静的サイトジェネレーターHugoのMarkdownパーサーであるGoldmarkは、LaTeXコードの2つのアンダースコアをHTMLの強調コマンドと誤認するため、KaTeXは数式を表示できない|【There are countermeasures】:Goldmark, the Markdown parser of the static site generator Hugo, misinterprets two underscores in LaTeX code as HTML emphasis commands, so KaTeX cannot display mathematical expressions

KaTeXが二個以上の[\overbrace{}_{}][\underbrace{}_{}]を数式で処理しない

KaTeXを使うための準備

以下のJavaScriptコードをの直前、つまり、~の間の最も最後に置くように、[C:\Hugo\YourSiteName\layouts\partials][C:\Hugo\YourSiteName\layouts_default]の中のファイルを編集する。