-
Notifications
You must be signed in to change notification settings - Fork 20
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
Allow magic redirection filter to javascript #100
Comments
There is a |
No, it is not -- I am proposing Raku code (in Raku cells) that generates JavaScript code to have the results of the JavaScript code in the corresponding output cell. |
Okay, implemented in 075f7f5 You can now do
for stdout to be interpreted as javascript, or
for the result to be intepreted as javascript. |
Thank you! (Using the package "JavaScript::D3".) |
cool! |
Please, implement in the magics specifications "filter redirection" from Raku to JavaScript --
%% raku > javascript
and/or%% perl6 > javascript
.(This type of specification is already available for LaTeX <-> HTML.)
For example, with this kind of specification:
I can produce the plot shown here:
Currently, I am using this very "targeted" hack to be able to make the JavaScript D3 diagrams as the one above:
(This request related is to related to my previous one, but as far as I can tell requires different implementation approach.)
The text was updated successfully, but these errors were encountered: