Example - Source Code

Source code

Code snippets can be not very "snippety" sometimes. Put them Beyond and let users see them only when they need it.

    (function(d) {
        function sidebar() { webSidebar(); }
        var s = d.createElement( 'script' );
        s.src = 'https://cdn.getbeyond.io/embed/embed.min.js';
        s.onload = sidebar;
        d.getElementsByTagName( 'body' )[0].appendChild(s);

With this short code you install Beyond to your page.
Easy huh?

Was this article helpful?: