Skip to content

Commit 39a9c0e

Browse files
authored
Create trinket-open
1 parent 04990b4 commit 39a9c0e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_includes/trinket-open

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<script type="text/javascript">(function(d,l,s,i,c){function n(e){e=e.nextSibling;return (!e||e.nodeType!=3)?e:n(e);};function r(f){/in/.test(d.readyState) ? setTimeout(function(){r(f);},9):f()};l=d.getElementsByTagName('script');s=l[l.length-1];r(function(){i=n(s),c=n(i);i.src='https://trinket.io/tools/1.0/jekyll/embed/{% if include.type %}{{ include.type }}{% else %}python{% endif %}#code='+encodeURIComponent(c.nodeValue.replace(/^\s+|\s+$/g,''));});})(document)</script><iframe width="{% if include.width %}{{ include.width }}{% else %}100%{% endif %}" height="{% if include.height %}{{ include.height }}{% else %}400{% endif %}" frameborder="0" marginwidth="0" marginheight="0" allowfullscreen></iframe><!--

0 commit comments

Comments
 (0)