obsidian-mindmap-nextgen icon indicating copy to clipboard operation
obsidian-mindmap-nextgen copied to clipboard

Latek duplication

Open mrpushker opened this issue 1 year ago • 1 comments

for a latex block the formula/equation appears twice in the mind map.

image

but it appears like this on the mindmap

image

mrpushker avatar Jan 26 '24 09:01 mrpushker

I posted this comment on the (original?) plugins issues, but for reference it's definitely rendering twice, one as katex-mathml and the other as katex-html, the katex-mathml is the correctly rendered katex formula. https://github.com/lynchjames/obsidian-mind-map/issues/111#issuecomment-2051017057

If you add the following CSS to a custom stylesheet for Obsidian you can fix this particular issue (prevent non-correctly rendered math block from rendering)

.katex-html {
  display: none;
}

itsonlyjames avatar Apr 12 '24 05:04 itsonlyjames