Show More
@@ -515,6 +515,9 var IPython = (function (IPython) { | |||
|
515 | 515 | HeadingCell.prototype.render = function () { |
|
516 | 516 | if (this.rendered === false) { |
|
517 | 517 | var text = this.get_text(); |
|
518 | // Markdown headings must be a single line, | |
|
519 | // truncate invalid input | |
|
520 | text = text.split('\n')[0]; | |
|
518 | 521 | if (text === "") { text = this.placeholder; } |
|
519 | 522 | text = Array(this.level + 1).join("#") + " " + text; |
|
520 | 523 | text = IPython.mathjaxutils.remove_math(text); |
General Comments 0
You need to be logged in to leave comments.
Login now