##// END OF EJS Templates
Markdown in heading cells (take 2)...
Markdown in heading cells (take 2) small typo prevented the previous implementation from working. This also moves the rendering to the 'render' method, away from set_rendered. closes #3053 (again)

File last commit:

r11033:fa36e98f
r11288:14d77dc1
Show More
textcell.less
37 lines | 658 B | text/x-less | LessCssLexer
div.text_cell {
padding: 5px 5px 5px 5px;
}
div.text_cell_input {
color: @textColor;
border: 1px solid @light_border_color;
.corner-all;
background: @cell_background;
}
div.text_cell_render {
/*font-family: "Helvetica Neue", Arial, Helvetica, Geneva, sans-serif;*/
outline: none;
resize: none;
width: inherit;
border-style: none;
padding: 5px;
color: @textColor;
}
a.heading-anchor {
text-decoration: none;
color: inherit;
}
a.anchor-link:link {
text-decoration: none;
padding: 0px 20px;
visibility: hidden;
}
h1,h2,h3,h4,h5,h6 {
&:hover .anchor-link {
visibility: visible;
}
}