Skip to content

Allow loading code from Gist URLs created elsewhere #584

Open
@ChaiTRex

Description

@ChaiTRex

The playground already uses Gists in the background when you want a permalink to the playground with code you've typed in already loaded. Can you please add to the playground UI a way to enter the URL of a Gist created elsewhere to load it into the playground?

As it is, I have to use the wasteful (of both time and unnecessarily created Gists) solution of:

  1. Load the playground
  2. Share whatever code is there
  3. Go to the permanent playground link
  4. Replace the Gist ID in the URL with my URL's Gist ID

I saw #439, but unlike that, this does not require much additional functionality, as the site can and does already load Gists just fine and would only need to parse the user-provided Gist to obtain the Gist ID.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementSomething new the playground could dohelp wantedNot immediately going to be prioritized — ask for mentoring instructions!

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions