ASKSAGE: Sage Q&A Forum - RSS feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Tue, 07 Feb 2017 19:21:31 +0100How can I use markdown in a Sage worksheet?https://ask.sagemath.org/question/36478/how-can-i-use-markdown-in-a-sage-worksheet/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 (#)?Tue, 07 Feb 2017 18:15:51 +0100https://ask.sagemath.org/question/36478/how-can-i-use-markdown-in-a-sage-worksheet/Answer by nbruin for <p>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</p>
<p>%load_ext sage</p>
<p>to use Sage commands.</p>
<p>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 (#)?</p>
https://ask.sagemath.org/question/36478/how-can-i-use-markdown-in-a-sage-worksheet/?answer=36479#post-id-36479I 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.Tue, 07 Feb 2017 19:21:31 +0100https://ask.sagemath.org/question/36478/how-can-i-use-markdown-in-a-sage-worksheet/?answer=36479#post-id-36479