Align Markdown table column separators
This commit is contained in:
parent
2efd075803
commit
dee2dc3777
@ -214,7 +214,7 @@ class ToTable extends Operation {
|
||||
output += outputRow(row, longestCells);
|
||||
let rowOutput = verticalBorder;
|
||||
row.forEach(function(cell, index) {
|
||||
rowOutput += " " + headerDivider + " " + verticalBorder;
|
||||
rowOutput += " " + headerDivider.repeat(longestCells[index]) + " " + verticalBorder;
|
||||
});
|
||||
output += rowOutput += "\n";
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user