Ask Your Question

How can I use markdown in a Sage worksheet?

asked 2017-02-07 18:15:51 +0100

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 19:21:31 +0100

nbruin gravatar image

updated 2017-02-07 22:30:26 +0100

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 18:15:51 +0100

Seen: 1,023 times

Last updated: Feb 07 '17