You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was something we talked about in the Retreat. @JustinAzoff had a plan to have a "try" button on any piece of demo code on the documentation. The most straightforward way to go through with this (that I can think of) would be to get code from a URL parameter. Thoughts?
The text was updated successfully, but these errors were encountered:
As you said there can be a link to try zeek that includes the code snippet in the url. Once followed this will set the current file to the passed snippet and run it. This would be very easy to implement in handleLocationChange, but the max length would be about 2048 chars.
Another way to have something like this work is to just use the api in the documentation. I wrote an example for this a while back using jquery:
This was something we talked about in the Retreat. @JustinAzoff had a plan to have a "try" button on any piece of demo code on the documentation. The most straightforward way to go through with this (that I can think of) would be to get code from a URL parameter. Thoughts?
The text was updated successfully, but these errors were encountered: