markdown tables 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:
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: markdown table
| Syntax | Description | Test Text |
| :--- | :----: | ---: |
| Header | Title | Here's this |
| Paragraph | Text | And more |
Example 4: md strikethrough
~~This text is struckthrough.~~ This one isn’t.mixed
Example 5: code highlight in readme
```js
function myFunction () {
return 42;
}
```
Example 6: 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:
3. Then use this one to convert the HTML result into Markdown:
https: