markdown syntax table 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: 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#