%modes for Sage Worksheets

45 views
Skip to first unread message

William Stein

unread,
Jul 23, 2016, 11:10:53 AM7/23/16
to sage-cloud
Hal Snyder wrote a very nice article about %modes for Sage Worksheets:

https://github.com/sagemathinc/smc/wiki/sagews-custom-modes

-- William

Dominique Laurain

unread,
Jul 25, 2016, 12:48:10 PM7/25/16
to sage-cloud
Just tried in sage cloud worksheet...(first example with csv_table).

Yes : very nice :-)

I tried to put another decorator (=custom-mode=magic) %md with text at the end of cell but not working (displaying the CSV table before chaining to a Markdown display).
I am not surprised : I guess text data until end of cell, is the "entry" (=stdin) of the command (program or function), and stored into the string "str" parameter

Dominique.
Reply all
Reply to author
Forward
0 new messages