Replies: 1 comment
-
I don’t know, perhaps you can make a reproduction so it’s clear what you‘re talking about exactly. I believe this has little to do with LaTeX, as that is a typesetting language. But with the markup that, in this case, is generated by KaTeX. I worry about your proposed solution, reading/writing from/to the clipboard isn’t always possible for security reasons. It also seems buggy: what if someone also copied the word before? After? A whole paragraph? You are preventing that. Lastly, I would google KaTeX + clipboard and work from there. If this is an issue, it is likely that other people have seen it too. |
Beta Was this translation helpful? Give feedback.
-
As you may know, copying rendered LaTeX results into weird results
for example.
To address this issue I decided to make a component
CopyWrapper
as follows :and putting automatically
textToCopy
to the actual LaTeX code which would allow me to copy code. One issue remains : I can't seem to edit the results ofrehype-katex
.this is what I want to achieve basically, what's the proper way to do so ? Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions