Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Latex/Katex as Node-label field #403

Open
garryFromGermany opened this issue Jun 30, 2021 · 1 comment
Open

Latex/Katex as Node-label field #403

garryFromGermany opened this issue Jun 30, 2021 · 1 comment

Comments

@garryFromGermany
Copy link

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.

@garryFromGermany
Copy link
Author

garryFromGermany commented Jul 1, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant