Markdown cells are now saved and restored in notebooks.

Brian E. Granger 15 years ago
parent c56f76980e
commit bc5dd6d359

@ -624,6 +624,9 @@ var IPython = (function (IPython) {
} else if (cell_data.cell_type === 'html') {
new_cell = this.insert_html_cell_after();
new_cell.fromJSON(cell_data);
} else if (cell_data.cell_type === 'markdown') {
new_cell = this.insert_markdown_cell_after();
new_cell.fromJSON(cell_data);
};
};
};

@ -132,7 +132,7 @@ var IPython = (function (IPython) {
if (data.cell_type === this.cell_type) {
if (data.source !== undefined) {
this.set_source(data.source);
this.set_rendered(data.source);
this.set_rendered(data.rendered);
};
};
}

Loading…
Cancel
Save