drawio-obsidian icon indicating copy to clipboard operation
drawio-obsidian copied to clipboard

Math latex not rendered

Open fedeizzo opened this issue 3 years ago • 13 comments

Problem The latex math is not rendered correctly outside the drawio editor. image

Steps to reproduce

  1. create a new diagram
  2. click on Extras and enable Mathematical Typesetting
  3. write a math expression using \( \) syntax

fedeizzo avatar Sep 23 '21 06:09 fedeizzo

I think this might be fixed in 1.5.0. although you'll have to be online for the javascript for rendering maths markup to download.

zapthedingbat avatar Oct 21 '21 15:10 zapthedingbat

Can confirm it doesn't work with $$ $$ or \( \) syntax with Mathematical Typesetting enabled when rendered

Tim-Tadj avatar Oct 27 '21 05:10 Tim-Tadj

I tried with the version 1.5.0 but the bug is still present

fedeizzo avatar Oct 30 '21 17:10 fedeizzo

Also getting the same results. Really appreciate the work you've done, getting this working would be the cherry on top!

mayurankv avatar Nov 05 '21 12:11 mayurankv

I'm having the same issue

yjavaherian avatar Mar 11 '22 08:03 yjavaherian

any solution yet?

Avarice91 avatar Mar 26 '22 07:03 Avarice91

is this still open?

jaluspeet avatar Apr 14 '22 11:04 jaluspeet

Still happening

juan11iguel avatar Oct 06 '22 07:10 juan11iguel

Did anyone manage to solve this?

omergunr100 avatar Dec 03 '22 14:12 omergunr100

I was able to render it after removing all the line breaks

Fun-Cry avatar Feb 23 '23 06:02 Fun-Cry

I have the same problem.

greatbaozi001 avatar May 05 '23 01:05 greatbaozi001

Not exactly what you're probably looking for, but if you go to the actual drawio repo and download/install the actual diagram maker software, then you can open the XML file for the SVG, and edit it there. The LaTeX will render properly there.

After that, if you open the .SVG file inside of obsidian, the latex will render properly!

YorkWestenhaver avatar Sep 01 '23 01:09 YorkWestenhaver

Same issue.

Scofield-Gu avatar Dec 24 '23 13:12 Scofield-Gu

I have the same problem!

Snipaste_2024-03-19_10-44-10

cruisermaxx avatar Mar 19 '24 02:03 cruisermaxx