zapthedingbat / drawio-obsidian

Draw.io plugin for obsidian.md
MIT License
433 stars 56 forks source link

Math latex not rendered #21

Open fedeizzo opened 2 years ago

fedeizzo commented 2 years ago

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
zapthedingbat commented 2 years ago

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.

Tim-Tadj commented 2 years ago

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

fedeizzo commented 2 years ago

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

mayurankv commented 2 years ago

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

yjavaherian commented 2 years ago

I'm having the same issue

Avarice91 commented 2 years ago

any solution yet?

juan11iguel commented 1 year ago

Still happening

omergunr100 commented 1 year ago

Did anyone manage to solve this?

Fun-Cry commented 1 year ago

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

greatbaozi001 commented 1 year ago

I have the same problem.

YorkWestenhaver commented 1 year ago

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!

Scofield-Gu commented 8 months ago

Same issue.

cruisermaxx commented 6 months ago

I have the same problem!

Snipaste_2024-03-19_10-44-10