christianalfoni / webpack-bin

A webpack code sandbox
http://www.webpackbin.com
MIT License
710 stars 75 forks source link

[Feature request] Ability to generate new demos through URL parameters #153

Open chrisvfritz opened 8 years ago

chrisvfritz commented 8 years ago

With JSBin, it's possible to dynamically generate new demos, for example with:

http://jsbin.com/?html,js,output&html=foo&js=bar

That creates a demo with panes for HTML, JS, and HTML output, with foo as the initial HTML content and bar as the initial JS content. This is incredibly useful in blog posts and other educational materials, as it's possible to make all code examples automatically link to always up-to-date live demos.

christianalfoni commented 8 years ago

I think somebody else suggested something similar. It is a really good feature :)