Closed mbostock closed 6 years ago
I'd say make tex
do that automatically (speaking as someone who doesn't do much JavaScript...)
BTW, the ability to make a piece of the expression reactive and changing is very exciting. Just need to find good use cases. My first try: https://beta.observablehq.com/@liuyao12/add-ad-infinitum
So, it looks like String.raw will let us write LaTeX without needing to double-escape backslashes:
Do we want to change
tex
to do that automatically? Is there ever a reason you’d need to JavaScript string escapes within LaTeX?