Skip to content

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

@titaneric

Description

@titaneric

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions