Allow svg as input format for formulas.

Use this to provide a preview.