Skip to content
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

Support wasm-pack POST method in rust-playground #1500

Open
titaneric opened this issue Apr 15, 2021 · 0 comments
Open

Support wasm-pack POST method in rust-playground #1500

titaneric opened this issue Apr 15, 2021 · 0 comments
Labels
A-Playground Area: Playground

Comments

@titaneric
Copy link

rust-lang/rust-playground#374 mention support wasm rendering in rust-playground.
rust-lang/rust-playground#706 is the corresponding implementation

To support such feature in mdBook, we may

  • Call their POST method and fetch result (JS and Wasm)
  • Render the JS and Wasm in IFrame
  • Differentiate the normal rust and wasm code, perhaps support new wasm className
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Playground Area: Playground
Projects
None yet
Development

No branches or pull requests

2 participants