# Use goldmark-mathjax extension

**URL:** <https://discourse.gohugo.io/t/use-goldmark-mathjax-extension/25721>\
**Category:** Uncategorized\
**Tags:** typesetting\
**Created:** [May 21, 2020, 11:05pm UTC](https://discourse.gohugo.io/t/use-goldmark-mathjax-extension/25721 "2020-05-21T23:05:02Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![ju52](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/ju52/32/6749_2.png) [@ju52](https://discourse.gohugo.io/u/ju52)\
**Post date:** [December 11, 2020, 8:51am UTC](https://discourse.gohugo.io/t/use-goldmark-mathjax-extension/25721/12 "2020-12-11T08:51:20Z")

</div>

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](https://github.com/gj52/HugoSample)

---

_[View the full topic](https://discourse.gohugo.io/t/use-goldmark-mathjax-extension/25721)._
