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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @ehuss@titaneric

        Issue actions

          Support wasm-pack POST method in rust-playground · Issue #1500 · rust-lang/mdBook