# Tables to HTML ## Creating a table ### Markdown ```markdown | First Header | Second Header | | ------------- | ------------- | | Content Cell | Content Cell | | Content Cell | Content Cell | ``` ### Parsed HTML ```html
First Header Second Header
Content Cell Content Cell
Content Cell Content Cell
``` ### Markdown ```markdown | Command | Description | | --- | --- | | git status | List all new or modified files | | git diff | Show file differences that haven't been staged | ``` ### Parsed HTML ```html
Command Description
git status List all new or modified files
git diff Show file differences that haven't been staged
``` ## Formatting Content in Tables ### Markdown ```markdown | Command | Description | | --- | --- | | `git status` | List all *new or modified* files | | `git diff` | Show file differences that **haven't been** staged | ``` ### Parsed HTML ```html
Command Description
git status List all new or modified files
git diff Show file differences that haven't been staged
``` ### Markdown ```markdown | Left-aligned | Center-aligned | Right-aligned | | :--- | :---: | ---: | | git status | git status | git status | | git diff | git diff | git diff | ``` ### Parsed HTML ```html
Left-aligned Center-aligned Right-aligned
git status git status git status
git diff git diff git diff
``` ### Markdown ```markdown | Name | Character | | --- | --- | | Backtick | ` | | Pipe | \| | ``` ### Parsed HTML ```html
Name Character
Backtick `
Pipe |
```