csvtomd icon indicating copy to clipboard operation
csvtomd copied to clipboard

Column dividers open and close each row

Open joeyhoer opened this issue 4 years ago • 1 comments

Some applications (e.g. JIRA) require Markdown table rows to be opened and closed with the pipe character.

This can easily be fixed by piping output through sed 's/^/| /g;s/$/ |/g'. However, it would be helpful if this tool had an option to add these characters to the beginning and end of each row without requiring sed.

joeyhoer avatar Nov 29 '21 21:11 joeyhoer

I came here to post this issue.

I'm converting tables to Markdown for a jekyll blog post.

Previously I was using: https://www.convertcsv.com/csv-to-markdown.htm

Thanks for the sed tip @joeyhoer !

gingerbeardman avatar Nov 03 '23 23:11 gingerbeardman