You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
yidafu
changed the title
Experimental Kotlin Jupyter Kernal %javascript magic support
Experimental %javascript/%typescript/%jsx magic support
Jan 27, 2024
kotlin-jupyter-js is a library to support
%javascript
/%typescript
/%jsx
magic.PR in kotlin-jupyter-llibraries
Example
Here is full example: js-magic.ipynb output html, origin notebook js-magic.ipynb
Import jupyter-js
JSX example
Define variable in kotlin cell
then write
js
/ts
/jsx
code using kotlin variable, like below:Inline Script
Some cases, you may want reuse JS code, inline script for that.
next js cell, ESM script url add
?inline
query.remote-script.js
must be ESM.Key
kotlin-jupyter-js base on SWC's JVM binding. So that it also support TypeScript and React
Have fun with kotlin-jupyter-js, and give me some feedback.
The text was updated successfully, but these errors were encountered: