---
title: transformLatex
description: Render public math with KaTeX and declare its stylesheet.
updated_at: '2026-11-20T00:09:10+01:00'
created_at: '2026-03-07T03:07:51+01:00'
symbol:
  kind: function
  name: transformLatex
  signatures:
    - >-
      transformLatex(options?: LatexOptions):
      [[reference/api/core/NormalizedSvartzPlugin|NormalizedSvartzPlugin]]
  parameters:
    - name: options
      type: LatexOptions
      optional: true
  returns:
    type: '[[reference/api/core/NormalizedSvartzPlugin|NormalizedSvartzPlugin]]'
  source: >-
    https://github.com/mia-cx/svartz/blob/711f3906a713c8b9a5a572d0f34c85e90c3bc3d1/packages/plugins/src/transform-latex.ts#L47
---

# transformLatex
