Skip to content

Add \html command to insert HTML #1596

@pzinn

Description

@pzinn

I would like to be able to insert some html into katex output (ex of use: inserting a svg image in the middle of latex code).
Would it be possible to have a simple function, say \html, that takes as arguments the height/depth and the html code, and inserts it into the katex output?
I have actually managed to do it myself, but my code is a bad hack, and I won't even suggest using it as a basis for proper code...
(if this issue has already arisen, feel free to direct me to past discussions)

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