First time here? Check out the FAQ!

Ask Your Question
0

How can I use markdown in a Sage worksheet?

asked 8 years ago

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 (#)?

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered 8 years ago

nbruin gravatar image

updated 8 years ago

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.

Preview: (hide)
link

Your Answer

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

Add Answer

Question Tools

Stats

Asked: 8 years ago

Seen: 1,470 times

Last updated: Feb 07 '17