Markdown tutorial advanced

Markdown tutorial advanced


Draw Table

You can create tables with pipes | and hyphens -. Hyphens are used to create each column’s header, while pipes separate each column. You must include a blank line before your table in order for it to correctly render.

Cells can vary in width and do not need to be perfectly aligned within columns. There must be at least three hyphens in each column of the header row.

| Col A  | Col B |
| --- | --- |
| Cell A1  | Cell  |
| Cell  | Cell B2 |
Col ACol B
Cell A1Cell
CellCell B2

Table alignment

You can align text to the left, right, or center of a column by including colons : to the left, right, or on both sides of the hyphens within the header row.

git statusgit statusgit status
git diffgit diffgit diff


Markdown support keyboard HTML tag to display the keys on keyboard.




You can temporarily obscure sections of your Markdown by creating a collapsed section that the reader can choose to expand. For example, when you want to include technical details in an issue comment that may not be relevant or interesting to every reader, you can put those details in a collapsed section.

Any Markdown within the <details> block will be collapsed until the reader clicks to expand the details. Within the <details> block, use the <summary> tag to create a label to the right of the arrow.

<summary>CLICK to see details</summary>

## We can hide anything!

ls -al

Other Markdown websites

Markdown Tutorial

You can learn and practice Markdown here.

Convert Table to Markdown