Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I think I would probably create a tiddly plugin. You basically need to do two things:

  • edit the html file to include this at the top, or make a plugin to do this

    <script src="http://aleph.sagemath.org/static/jquery.min.js"></script> <script src="http://aleph.sagemath.org/embedded_sagecell.js"></script> <script>$(function(){sagecell.makeSagecell({inputLocation:'.sage'})});</script>
  • figure out how to get a function called anytime a tiddler was done being edited, and make any class 'sage' divs into sagecells using something like the makeSagecell command above.

I think I would probably create a tiddly plugin. You basically need to do two things:

  • edit the html file to include this at the top, or make a plugin to do this

    <script src="http://aleph.sagemath.org/static/jquery.min.js"></script> <script src="http://aleph.sagemath.org/embedded_sagecell.js"></script> <script>$(function(){sagecell.makeSagecell({inputLocation:'.sage'})});</script>
  • figure out how to get a function called anytime a tiddler was done being edited, and make any class 'sage' divs into sagecells using something like the makeSagecell command above.

I think I would probably create a tiddly plugin. You basically need to do two things:

  • edit the html file to include this at the top, or step 1 of http://sage.math.washington.edu/home/jason/sagecellslides/#slide-20 (or make a plugin to do thisthis)

    <script src="http://aleph.sagemath.org/static/jquery.min.js"></script> <script src="http://aleph.sagemath.org/embedded_sagecell.js"></script> <script>$(function(){sagecell.makeSagecell({inputLocation:'.sage'})});</script>
  • figure out how to get a function called anytime a tiddler was done being edited, and make any class 'sage' divs into sagecells using something like the makeSagecell command above.