Table 1: There is a pipe ( | ) character inside Table Cell. It can't display properly.
| Alias | Command | What to Type |
|---|---|---|
git cleanup |
`git branch --merged | grep -v '*' |
Table 2: There is a pipe ( | ) character that escape with a HTML Entity ( | ). Within ` sign, all HTML Entities will output ASIS which is not what I want.
| Alias | Command | What to Type |
|---|---|---|
git cleanup |
git branch --merged | grep -v '*' | xargs git branch -d |
git config --global alias.cleanup "!git branch --merged | grep -v '*' | xargs git branch -d" |
Table 3: When I strip the ` sign, it works, but not what I want. Using this, we also need to escape the * symbol to |.
| Alias | Command | What to Type |
|---|---|---|
git cleanup |
git branch --merged | grep -v '*' | xargs git branch -d | git config --global alias.cleanup "!git branch --merged | grep -v '*' | xargs git branch -d" |
Table 4: The best solution I can figure out.
| Alias | Command | What to Type |
|---|---|---|
git cleanup |
git branch --merged | grep -v '*' | xargs git branch -d |
git config --global alias.cleanup "!git branch --merged | grep -v '*' | xargs git branch -d" |
Table 5: Extreme solution! Ref: GitHub Flavored Markdown Spec - Example 193
| Alias | Command | What to Type |
|---|---|---|
git cleanup |
git branch --merged | grep -v '*' | xargs git branch -d |
git config --global alias.cleanup "!git branch --merged | grep -v '*' | xargs git branch -d" |
I've created an issue over here: github/markup#1193