Skip to content

tpl/transform: Expose the KaTeX strict option  #13729

@jmooring

Description

@jmooring

The issue description may not be true in all cases, but this fails:

{{ transform.ToMath `line1\\line2` (dict "displayMode" true) }}

execute of template failed at <transform.ToMath>: error calling ToMath: not a function

This works as expected:

{{ transform.ToMath `line1\\line2` (dict "displayMode" false) }}

The display mode example above works as expected when using katex.js for client side rendering, and it also works with the sandbox on the katex.org website.

Image

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions