Table alignment settings
📋 Conversion settings
💡 Instructions for use
- Content copied from spreadsheet software is separated by tab characters by default. This tool can automatically identify tab characters, commas and vertical bars.
- If the cell content is in quotation marks, it will be parsed according to the general rules, and the delimiters within the quotation marks will not be regarded as column boundaries.
- Vertical bars within cells will be escaped to avoid conflict with table column separators; line breaks within cells will be replaced with spaces.
- When the tab version is reversely converted and output, it can be directly pasted back into the spreadsheet software without further column separation.
- The content is only converted within the browser and is not uploaded or saved; if you need to keep it as a file, please copy or download the results.
The table alignment setting determines which side the text will be on after rendering: the way to write it is to add colons at both ends of the separated line.
Correspondence between the three writing methods
- Left-aligned: The colon is written to the left of the dash, suitable for text and description fields.
- Centered: There are colons on both sides, suitable for short content such as status and labels. Right-aligned: The colon is written on the right side, which is suitable for numerical values and amounts, and facilitates bit-aligned comparison of sizes. When no colon is written, it is aligned by default, and most renderers are left aligned.
Should the entire table be unified or set column by column?
This tool aligns the entire table uniformly, is suitable for tables with similar field types, and is the fastest to operate. If there are both description and numeric columns in the same table, the ideal approach is to specify column by column: left-aligned descriptions and right-aligned numeric values. At this time, you can first generate the entire table version, and then manually modify the colon in the separated row. The change is very small and only affects one row. Alignment marks are only written on delimiter lines and do not involve data lines.
The alignment is written in the alignment line, expressed by the position of the colon: a colon on the left is left-aligned, a colon on the right is right-aligned, and a colon on both sides is centered.
It is recommended to align the number column to the right and the text column to the left for a neater look. Alignment only affects the display, does not change the content, and will not be retained after exporting back to the table.
It is recommended to align the number column to the right and the text column to the left for a neater look and feel; alignment only affects the display, does not change the content, and will not be retained when exported back to the table.
When you need to right-align the values, you only need to manually adjust the colon position of the corresponding column in the separated row.
📖 Glossary
- Markdown table
- A plain text table is written with vertical lines separating cells and a line of short horizontal lines marking the table header. After rendering, it becomes a web table.
- delimiter
- The character used to separate columns, tabs are used for content copied by spreadsheet software, and commas are used for comma-delimited files.
- escape
- Add a backslash before special characters so that they are not interpreted as syntax symbols. For example, vertical bars in cells need to be escaped.
- alignment mark
- The colon in the header delimiter line is written on the left to indicate left alignment, both sides indicate centering, and the colon on the right indicates right alignment.
- wrapped in quotation marks
- When the field content contains delimiters or quotation marks, use double quotation marks and write two internal quotation marks. This is a general rule for delimiting text.
- Header
- Markdown tables must have a row of headers, and placeholder column names should be automatically filled in if missing.
- Column width padding
- Fill in spaces in the source code to align the columns for easier reading, but does not affect the final rendering effect.
- cell
- The smallest unit formed by the intersection of rows and columns in a table. Markdown table cells do not support crossing rows and columns.
- automatic recognition
- Which delimiter is used is inferred based on the number of occurrences of each delimiter in the previous lines.
- plain text table
- A tabular expression that does not contain format information and only relies on characters to divide rows and columns is convenient for version management and difference comparison.
🔗 All keywords and tutorials
❓ FAQ
- Will alignment affect the data itself??
- No. Alignment is only written on separated lines, which is a rendering setting, and the data content remains unchanged.
- What is the alignment without colon??
- Determined by the renderer, usually left-justified, clearing the colon avoids differences between different renderers.