From 7083a4c4508d68d18dc0427a0f0f86df3f1009c7 Mon Sep 17 00:00:00 2001
From: Luke Shumaker Tip: To set the page title (what appears in the tab '+
- 'name/window bar), put this at the top of the page:
---\ntitle: "Your Title Here"\n---\n\n'+ - '
(I apologize that it looks funny on this page and in the '+ - 'preview.)
\n'+ - - 'Otherwise, the first line will be used as the title. This means '+ - 'that if you want the title to also appear at the top of the document, '+ - 'you can instead use:
\n'+ - '
Your Title Here\n===============\n\n'+ - '
which will also include it as a heading at the top of the page.
'; + 'To set the page title, and have it appear as a header on the page, '+ + 'put this at the top:
\n'+ + '
Your Title Here\n===============\n\n'; container.appendChild(tip); - // bug workaround from https://github.com/codemirror/CodeMirror/issues/2143#issuecomment-140100969 + // workaround from https://github.com/codemirror/CodeMirror/issues/2143#issuecomment-140100969 var updateSectionHeaderStyles = function(cm, change) { var lines = cm.lineCount(); for (var i = Math.max(0, change.from.line-1); i <= Math.min(change.to.line+1, lines-1); i++) { -- cgit v1.2.3