tables in markdown code example
Example 1: markdown table
Layout:
| Tables | Are | Cool |
|----------|:-------------:|------:|
| col 1 is | left-aligned | $1600 |
| col 2 is | centered | $12 |
| col 3 is | right-aligned | $1 |
An amazing website for building a table in markdown:
https://www.tablesgenerator.com/markdown_tables
Example 2: table in markdown
Colons can be used to align columns.
| Tables | Are | Cool |
| ------------- |:-------------:| -----:|
| col 3 is | right-aligned | $1600 |
| col 2 is | centered | $12 |
| zebra stripes | are neat | $1 |
Markdown | Less | Pretty
--- | --- | ---
*Still* | `renders` | **nicely**
1 | 2 | 3
Example 3: how to draw table in readme file
Attempt | #1 | #2 | #3 | #4 | #5 | #6 | #7 | #8 | #9 | #10 | #11
--- | --- | --- | --- |--- |--- |--- |--- |--- |--- |--- |---
Seconds | 301 | 283 | 290 | 286 | 289 | 285 | 287 | 287 | 272 | 276 | 269
Example 4: markdown table
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
Example 5: html to markdown table
To convert a WYSIWYG (Word, Docs) to Markdown:
1. Copy your table in your clipboard.
2. Use this link to convert your table to HTML:
https://www.tablesgenerator.com/html_tables
3. Then use this one to convert the HTML result into Markdown:
https://www.tablesgenerator.com/markdown_tables#