rpeshkov / vscode-text-tables

VSCode extension that brings the power of Emacs table editing
MIT License
38 stars 14 forks source link

Create table fails for markdown #24

Closed rpeshkov closed 6 years ago

rpeshkov commented 6 years ago

When executing command Create table in markdown mode, it fails with the following stack trace:

RangeError: Invalid count value
extensionHostProcess.js:85
    at String.repeat (native)
    at __dirname.separatorReducer.cols (/Users/rpeshkov/Developer/vscode-extensions/vscode-text-tables/out/src/ttMarkdown.js:95:48)
    at Array.reduce (native)
    at MarkdownStringifier.stringify (/Users/rpeshkov/Developer/vscode-extensions/vscode-text-tables/out/src/ttMarkdown.js:75:37)