Skip to content

single or double dollar sign as formula delimiter #712

@redstoneleo

Description

@redstoneleo

I want to use a pair of single dollar sign as formula delimiter for inline style math formula and double for display style , my settings as following

<script>
    renderMathInElement(document.body,{delimiters: [
    					{left: "$", right: "$", display: false},
					  {left: "$$", right: "$$", display: true}
]});

</script>

This caused KaTeX to render well for inline style math formula but not for display style , any good solutions ?
BTW, the same delimiter rule works well for MathJax, I just want to use KaTeX as an replacement Of MathJax for speed reason .

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions