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
if you copy the minimal example (below) in a text file and run a file server on it (like python3 -m http.server, this will not work without a web server), you'll see a default python interactive workspace,
<!DOCTYPE html><head><scripttype="module" src="https://cdn.jsdelivr.net/gh/vanillawc/wc-code@1.0.3/src/wc-code.js"></script></head><body><wc-codemode="python"><scripttype="wc-content">language="python"what_is_it="the coolest"print(f"{language} is {what_is_it}")</script></wc-code></body>
I use these extensively on my website for coding tutorials,
(all the blocks with "run-code" in them which allow running python code, they're wc-code instances, it takes some time to load the interpreter since its python running in your browser, literally, these are essentially pyodide instances, another project you should definitely add here too),
I was hoping if you could add this resource to the link, that'd be really cool
The text was updated successfully, but these errors were encountered:
Hi Ayushi,
I've a code project called wc-code, https://github.com/vanillawc/wc-code,
if you copy the minimal example (below) in a text file and run a file server on it (like
python3 -m http.server
, this will not work without a web server), you'll see a default python interactive workspace,I use these extensively on my website for coding tutorials,
(all the blocks with "run-code" in them which allow running python code, they're wc-code instances, it takes some time to load the interpreter since its python running in your browser, literally, these are essentially pyodide instances, another project you should definitely add here too),
I was hoping if you could add this resource to the link, that'd be really cool
The text was updated successfully, but these errors were encountered: