| 1 | initial version |
As of commit 8f99d8, you can use any JQuery selector, including ones that select multiple elements, as an inputLocation. You can create a Sage cell in multiple locations using something like:
sagecell.makeSagecell({inputLocation: '.sagecell-plot',
template: sagecell.templates.restricted});
where sagecell-plot is the name of the class of which each of the inputLocations is a member.
Copyright Sage, 2010. Some rights reserved under creative commons license. Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.