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