slack-table
generates slack markdown text which looks like table
install
npm install slack-table
usage
; const table = ;
When I build a slack slash command, I wanted to format the command results look like table. However, I could not find a simple way to do that, and decided to build a table-like view using code. Use the result string in slack markdown text, and you can get the following view.
Warning: CJK characters will break the table layout