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 inputLocation
s is a member.