draw.io mathematical typeset enabled, renders in draw.io, but is blank/empty after saving and editing back into markdown #6900
Unanswered
jake-pfannenstiel
asked this question in
Error / Bug Report
Replies: 1 comment
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment


Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I've never posted... I have a wiki.js page created with the markdown editor chosen. I click the button to insert a diagram from the left side of the page and the draw.io window automatically opens. I enable the Mathematical Typeset and create the text box. Typing either '$$x^2$$' (MathJax format) and `x^2` (TeX format) shows the mathematical expression as desired while in draw.io. But after I Save & Exit, both the markdown preview and final page only display a blank diagram (or if \frac is used in the expression, then the only the line on the fraction is shown).
Technically this is over my head, but draw.io uses (I think) LaTeX or KaTeX instead of MathJax, like wiki.js markdown uses. Even using AltCommands (∫) only displays the actual text characters.
Is this a bug? I know I can export the draw.io diagram as an SVG file and import the SVG as an asset, but then it is not findable ( ctrl+f ) and I'd rather have the text selectable giving the user the ability to copy and paste if desired.
Image above shows in draw.io diagram editor. Image below shows rendering of the image in the markdown preview pane.
All reactions