markdown how to add code block code example
Example 1: 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 2: markdown code block
```ruby
require 'redcarpet'
markdown = Redcarpet.new("Hello World!")
puts markdown.to_html
```
Example 3: markdown
**bold** or __bold__
*italic* or _italic_
[link to markdown guide](https://www.markdownguide.org/basic-syntax/)
> This is a quote. Quotes are indented and a different colour.
show small bits of code with backticks: `print("hello world")`
- [x] This is a complete item
- [ ] This is an incomplete item
you can also include html code if you want to be more specific.
For example, this would make a picture with a width of 200:
<img src="drawing.jpg" alt="drawing" width="200"/>