Open a Markdown file that does not contain a YAML metadata block. Markdown files with such a block seem to be unaffected.
Atom: 1.21.0 x64
Electron: 1.6.9
OS: Mac OS X 10.12.6
Thrown From: document-outline package 1.6.11
Stack Trace
Uncaught TypeError: Cannot read property 'index' of null
At /Users/phil/.atom/packages/document-outline/lib/markdown-model.js:18
TypeError: Cannot read property 'index' of null
at stripYaml (/packages/document-outline/lib/markdown-model.js:18:12)
at MarkdownModel.parse (/packages/document-outline/lib/markdown-model.js:37:12)
at MarkdownModel.getUpdate (/packages/document-outline/lib/abstract-model.js:47:28)
at Object.updateView (/packages/document-outline/lib/document-outline.js:148:44)
at Object.updateCurrentEditor (/packages/document-outline/lib/document-outline.js:133:14)
at /packages/document-outline/lib/document-outline.js:79:12
at Function.module.exports.Emitter.simpleDispatch (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:25:20)
at Emitter.module.exports.Emitter.emit (/Applications/Atom.app/Contents/Resources/app/node_modules/event-kit/lib/emitter.js:141:34)
at /Applications/Atom.app/Contents/Resources/app/src/workspace.js:550:30
[Enter steps to reproduce:]
Atom: 1.21.0 x64 Electron: 1.6.9 OS: Mac OS X 10.12.6 Thrown From: document-outline package 1.6.11
Stack Trace
Uncaught TypeError: Cannot read property 'index' of null
Commands
Non-Core Packages