I have been looking for a way to display latex in vscode .Net interactive notebooks, but I've had no luck.
on my C# .Net interactive Code Cell I have
#r "nuget: AngouriMath.Interactive, 1.3.0"
using AngouriMath.Interactive;
using AngouriMath;
Entity entity= "X^2+1";
var latexText = entity.Latexise();
display(latextText,"text/latex") //<< this will not work because "text/latex" mimetype is not valid.
I found this for image https://stackoverflow.com/a/70850956/7197556 where the bitmap image is converted to base64string before being passed to the display() function. Is there a way to do this for latex? or are there any other straightforward solutions?
side-note: I'd like to avoid writing javascript/html code cells as much as possible.

