1 | initial version |
If you want to generate sws worksheets, i would suggest to first generate ReStructuredText (which is well specified) and then use:
sage -rst2sws file.rst file.sws
Code blocks are of the form
::
sage: a = 1+1
sage: a
2