Added cell reveal

parent 6a51995b
......@@ -79,4 +79,12 @@ a {
div.out_prompt_overlay:hover {
background: initial;
}
.cell {
visibility: hidden;
}
.cell.shown, .cell:first-of-type {
visibility: initial;
}
\ No newline at end of file
......@@ -13,4 +13,9 @@ autoscroll = () => {
$([IPython.events]).on("select.Cell", autoscroll);
$([IPython.events]).on("output_appended.OutputArea", function () {
setTimeout(autoscroll, 10);
});
/*** Auto reveal ***/
$([IPython.events]).on("select.Cell", () => {
document.querySelector(".cell.selected").classList.add("shown");
});
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment