Ask Your Question

How can I use markdown in a Sage worksheet?

asked 2017-02-07 11:15:51 -0500

Elk gravatar image

In Sage within a Jupyter notebook, I can use the pulldown menu to select the markdown option and use markdown commands. I can also use

%load_ext sage

to use Sage commands.

If I'm in a Sage worksheet, is there a package to load so that I can use markdown commands? Or alternatively, is there a way I can get two different colors of comments with a hashtag (#)?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2017-02-07 12:21:31 -0500

nbruin gravatar image

updated 2017-02-07 15:30:26 -0500

I assume you mean the legacy sagenb worksheets. They do not have support for markdown (MD). Furthermore, the processing of MD is done by the notebook server, so supporting it would require changing the sagenb server, not just loading something in the worker process (although some javascript hack might be able to work around that).

In any case, in sagenb you can include full HTML, so you can arrange for any typesetting via that route.

Answers about the SageMathCloud worksheets can probably be obtained from their help there.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2017-02-07 11:15:51 -0500

Seen: 134 times

Last updated: Feb 07