Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I never noticed that this was possible thanks for bringing it to my attention.

Here is how you can do it. Go to the top of the notebook and click edit. Then above the cell you wish to put the html text. Just write the text in html format. Here is a example, I made a plot of sin(x). When I click edit I see the following code

{{{id=1|
plot(sin(x),(x,0,10))
///
<html> 
<font color='black'><img src='cell://sage0.png'></font></html>
}}}

{{{id=2|

///
}}}

I change it to the following

<p style="text-align: center;"><strong><span style="font-size: xx-large;">Rich text discription</span></strong></p>

{{{id=1|
plot(sin(x),(x,0,10))
///
<html> 
<font color='black'><img src='cell://sage0.png'></font></html>
}}}

{{{id=2|

///
}}}

I never noticed that this was possible thanks for bringing it to my attention.

Here is how you can do it. Go to the top of the notebook and click edit. Then above the cell you wish to put the html text. Just write the text in html format. Here is a example, I made a plot of sin(x). When I click edit I see the following code

{{{id=1|
plot(sin(x),(x,0,10))
///
<html> 
<font color='black'><img src='cell://sage0.png'></font></html>
}}}

{{{id=2|

///
}}}

I change it to the following

<p style="text-align: center;"><strong><span style="font-size: xx-large;">Rich text discription</span></strong></p>
description</span></strong></p>

{{{id=1|
plot(sin(x),(x,0,10))
///
<html> 
<font color='black'><img src='cell://sage0.png'></font></html>
}}}

{{{id=2|

///
}}}