Use goldmark-mathjax extension

I don’t like the .Inner construction and use it on this way

+++
tags        = [ "MathJax"]
title       = "MathJax"
+++

{{<tex>}}

## Maxwell's formulas

|Name|Formel|
|----|:----:|
|Gaußsches Gesetz|${\vec {\nabla }}\cdot {\vec {E}}={\frac {\rho }{\varepsilon _{0}}}$|
|Gaußsches Gesetz für Magnetfelder|${\vec {\nabla }}\cdot {\vec {B}}=0$|
|Faraday's Induktionsgesetz|${\vec {\nabla }}\times {\vec {E}}=-{\frac {\partial {\vec {B}}}{\partial t}}$|
|Ampère's Durchflutungsgesetz|${\vec {\nabla }}\times {\vec {B}}=\mu _{0}{\vec {j}}+\mu 

_{0}\varepsilon _{0}{\frac {\partial {\vec {E}}}{\partial t}}$|

with  $\mu _{0}\varepsilon _{0}={\frac {1}{c^{2}}}$ .

works for me.

The shortcode activates MathJax, thats all.
complete sample at https://github.com/gj52/HugoSample

2 Likes