Imagen cortecia de [Pexels](https://www.pexels.com/photo/laptop-with-cyber-security-text-on-the-screen-5483240/)
Solemos utilizar indistintamnete los terminos proteción y seguridad
In this example we will be using KaTeX
- Create a partial under
/layouts/partials/math.html - Within this partial reference the Auto-render Extension or host these scripts locally.
- Include the partial in your templates like so:
{{ if or .Params.math .Site.Params.math }}
{{ partial "math.html" . }}
{{ end }}
- To enable KaTex globally set the parameter
mathtotruein a project’s configuration - To enable KaTex on a per page basis include the parameter
math: truein content files.
Note: Use the online reference of Supported TeX Functions
Examples
Inline math: $$ seguridad = \dfrac{peligro*riesgo}{amenaza} $$
Block math:
$$
\varphi = 1+\frac{1} {1+\frac{1} {1+\frac{1} {1+\cdots} } }
$$
Imagen cortesĆa de Pexels