felixhayashi / TW5-TiddlyMap

Map drawing and topic visualization for your wiki

Home Page:http://tiddlymap.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Latex/Katex as Node-label field

garryFromGermany opened this issue · comments

commented

I am looking for a way to set the Node-label field to be rendered with vnd-tiddlywiki,
so Latex shows rendered out as the nodes label.

So far, my workaround is to take a screenshot of the rendered Latex, save it as an image-tiddler and set this image to be the nodes icon. But this becomes infeasible for more than a few nodes.

Is there a better way? If not, this would be a great improvement.

commented

I looked into the code and I see, this would require me to put html as a label for the node. According to an issue for Vis.js, the nodes are drawn with svg though. So it's not possible, unless they make a change.
My next idea is to render the Katex into an image and put that as the nodes icon. Maybe Katex can offer help on that.