How would you return an SVG string from a function/type? #3109
Replies: 1 comment 1 reply
-
Good point, the custom hander should work with the |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to implement a few functions that return custom SVGs that will be rendered in the output.
I get pretty close, but my guess is the parser is messing with the SVG and I need a different way. I tried a custom HTML handler, but I think that only works for LaTex and strings.
Is there a way to override toHTML for a dataType or is there a simpler method other than pre-filtering expressions for a specific node and modifying the evaluator function?
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions