Skip to content

Instantly share code, notes, and snippets.

@jasongrout
Forked from theronhitchman/SageCell.html
Created February 17, 2013 03:08
Show Gist options
  • Save jasongrout/4969901 to your computer and use it in GitHub Desktop.
Save jasongrout/4969901 to your computer and use it in GitHub Desktop.
<!-- put this in the header-->
<script src='http://sagecell.sagemath.org/static/jquery.min.js'/>
<script src='http://sagecell.sagemath.org/static/embedded_sagecell.js'/>
<link href='http://sagecell.sagemath.org/static/sagecell_embed.css' rel='stylesheet' type='text/css'/>
<script>$(function () { sagecell.makeSagecell({&quot;inputLocation&quot;: &quot;.sage&quot;}) });</script>
<!-- put this in the body where you want a cell. adjust your inputs, of course. -->
<div class="sage">
<script type="text/x-sage">
1+2
</script></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment