atom-tidy-markdown
atom-tidy-markdown copied to clipboard
Uncaught mapping values are not allowed here on line 4, column 22
I think the problem was that my first line was
Heading
===
and after that next line was
Subheading
---
Without having any text in between Heading and subheading, when I wrote something the error was gone.
Atom Version: 1.0.2 System: Mac OS X 10.10.4 Thrown From: tidy-markdown package, v1.0.0
Stack Trace
Uncaught mapping values are not allowed here on line 4, column 22
At /Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/scanner.js:505
mapping values are not allowed here
on line 4, column 22
at ScannerError.YAMLError (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/errors.js:70:46)
at ScannerError.MarkedYAMLError (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/errors.js:90:45)
at new ScannerError (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/scanner.js:23:49)
at Constructor.Scanner.Scanner.fetch_value (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/scanner.js:505:19)
at Constructor.Scanner.Scanner.fetch_more_tokens (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/scanner.js:215:21)
at Constructor.Scanner.Scanner.peek_token (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/scanner.js:139:14)
at Constructor.Parser.Parser.parse_document_end (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/parser.js:181:20)
at Constructor.Parser.Parser.get_event (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/parser.js:99:46)
at Constructor.Composer.Composer.compose_document (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/composer.js:66:12)
at Constructor.Composer.Composer.get_single_node (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/composer.js:52:25)
at Constructor.BaseConstructor.BaseConstructor.get_single_data (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/constructor.js:77:19)
at Object.load (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/node_modules/yaml-js/lib/yaml.js:112:20)
at parse (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/index.js:28:27)
at extractor (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/node_modules/front-matter/index.js:21:34)
at module.exports (/Users/puneetsingh/.atom/packages/tidy-markdown/node_modules/tidy-markdown/lib/index.coffee:274:13)
at Object.module.exports.run (/Users/puneetsingh/.atom/packages/tidy-markdown/lib/index.coffee:49:17)
at atom-workspace.subscriptions.add.atom.commands.add.tidy-markdown:run (/Users/puneetsingh/.atom/packages/tidy-markdown/lib/index.coffee:20:32)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at CommandPaletteView.module.exports.CommandPaletteView.confirmed (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/command-palette/lib/command-palette-view.js:159:32)
at CommandPaletteView.module.exports.SelectListView.confirmSelection (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:338:21)
at space-pen-div.atom.commands.add.core:confirm (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-space-pen-views/lib/select-list-view.js:109:19)
at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:241:29)
at /Applications/Atom.app/Contents/Resources/app.asar/src/command-registry.js:3:61
at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:520:16)
at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/Applications/Atom.app/Contents/Resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:355:22)
at HTMLDocument.module.exports.WindowEventHandler.onKeydown (/Applications/Atom.app/Contents/Resources/app.asar/src/window-event-handler.js:177:20)
Commands
-0:58.5.0 core:backspace (atom-text-editor.editor.is-focused)
-0:57.2.0 core:move-up (atom-text-editor.editor.is-focused)
2x -0:57 core:move-left (atom-text-editor.editor.is-focused)
-0:56.6.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-0:56.6.0 snippets:expand (atom-text-editor.editor.is-focused)
-0:56.6.0 editor:indent (atom-text-editor.editor.is-focused)
-0:56.3.0 core:move-down (atom-text-editor.editor.is-focused)
2x -0:56.2.0 core:move-left (atom-text-editor.editor.is-focused)
-0:55.6.0 snippets:next-tab-stop (atom-text-editor.editor.is-focused)
-0:55.6.0 snippets:expand (atom-text-editor.editor.is-focused)
-0:55.6.0 editor:indent (atom-text-editor.editor.is-focused)
-0:31.5.0 core:save (atom-text-editor.editor.is-focused)
-0:06.8.0 command-palette:toggle (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
2x -0:03.8.0 core:backspace (atom-text-editor.editor.mini.is-focused)
-0:01.0 core:confirm (atom-text-editor.editor.mini.is-focused)
-0:01.0 tidy-markdown:run (ol.tree-view.full-menu.list-tree.has-collapsable-children.focusable-panel)
Config
{
"core": {}
}
Installed Packages
# User
markdown-lists, v0.0.2
markdown-preview-katex, v0.3.4
tidy-markdown, v1.0.0
# Dev
No dev packages