# Hugo添加数学公式支持#

## 步骤#

 1 2  cp themes/PaperMod/layouts/partials/extend_head.html layouts/partials/extend_head.html \ && nano layouts/partials/extend_head.html 

  1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26  {{ if or .Params.math .Site.Params.math }} {{ end }} 

## 2. 使用方法#

 1  math: true # 是否开启mathjax 

 1  $$0.414213562373095048\approx6\*16^{-1}+a\*16^{-2}+0\*16^{-3}+\cdots$$ 

$$0.414213562373095048\approx6*16^{-1}+a*16^{-2}+0*16^{-3}+\cdots$$