I use the same Clipboard.js library on Beautiful Racket to support code
copying. (I use v.1.5.15, though apparently the lib is now at 2.0.6).
I've not had any problems or complaints.
One wrinkle in implementation is that you don't want to pass formatted HTML to
the clipboard. Obviously, what t
The information is there at the source level in the way the evaluators are
used but I guess it gets discarded by the time the code gets to html.
There is also the issue that some of the context code is relevant and some
isn't, so not all of the information is actually there to make the most
compac
Thoughts:
- I take a look at the compiled HTML document. It doesn't seem suffice to
only change JavaScript because the information about "what is the input" is
pretty much lost at the HTML level.
- IIUC, Scribble targets older version of HTML (HTML4?), so it doesn't
really care about the semantics
On 4/8/20, Stephen De Gabrielle wrote:
> That’s a good suggestion! Do you know the relevant JavaScript we can try it
> out with. Might be an easy PR.
>
Beware that snippets are not always self-contained.
A button should grab any requires and earlier code needed to make the
example run. That'd be
That’s a good suggestion! Do you know the relevant JavaScript we can try it out
with. Might be an easy PR.
--
You received this message because you are subscribed to the Google Groups
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to rack
Hello there, I’m reading "The Racket Guide" online and I have a little
suggestion that if you can make the code easier to copy, it will be much
easier for beginners to go through.
For example, just like Wolfram Language’s tutorial, if you hover your mouse
over a code snippet, it will appear a l
6 matches
Mail list logo