{{- $context := .context }}
{{- $content := .content }}
{{- $align := .align | default "center" }}
{{- with $context }}
<span class="math align-{{ $align }}">
  {{- $content | safeHTML -}}
</span>
{{- .Store.Set "hasMathJax" true }}
{{- end }}