MySQL style
- Input
- nome,qtd ana,3 bia,10
- Expected output
- +------+-----+ | nome | qtd | +------+-----+ | ana | 3 | | bia | 10 | +------+-----+
The qtd column is numeric and sits on the right.
ascii table generator text
Paste the rows and choose the border style in the ASCII tab. The table comes out ready for a comment, an email or a README, with every column at the right width, including accents and ideographs.
The qtd column is numeric and sits on the right.
Same data, Unicode style.
Double separator under the header and a line between records.
Format similar to psql output.
Select the cells in Excel, copy with Ctrl+C and paste into the input box: the content arrives tab-separated and is recognized right away. Keep the Markdown tab active and click Copy. Numeric columns come out right-aligned (---: in the hyphen row) and text columns left-aligned, and you can force another alignment in the editing toolbar. Formulas arrive as the displayed value, not as the formula.
Text only aligns in a monospaced font. In emails and chats with a proportional font, the columns fall apart. Paste into a code block (three backticks in Markdown) or use a plain ASCII style, which suffers less with fonts that lack the Unicode box characters.
Yes. Turn off the first-row-is-header option in the edit toolbar and the first row becomes ordinary data, without the separator line right under it.
No. Here you draw a data table with text. To look up ASCII character codes, use the ASCII Table tool on the site.
Arrow keys move. Enter or F2 edits, Esc cancels and Alt+Enter adds a line break inside the cell. Ctrl+C, Ctrl+X and Ctrl+V copy, cut and paste blocks (including from Excel). Ctrl+Z undoes. On a phone, tap an already selected cell to edit it.